-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from Mangopay/feature/pay-pal-new-params
added new params for paypal
- Loading branch information
Showing
14 changed files
with
250 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/main/java/com/mangopay/entities/subentities/PayPalWebTracking.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package com.mangopay.entities.subentities; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.mangopay.core.EntityBase; | ||
|
||
public class PayPalWebTracking extends EntityBase { | ||
|
||
/** | ||
* The shipment’s tracking number provided by the carrier. | ||
*/ | ||
@SerializedName("TrackingNumber") | ||
private String trackingNumber; | ||
/** | ||
* The carrier for the shipment. Use the country-specific version of the carrier if it exists, | ||
* otherwise use its global version. | ||
* Returned values: One of the carriers supported by PayPal. | ||
*/ | ||
@SerializedName("Carrier") | ||
private String carrier; | ||
/** | ||
* If true, sends an email notification to the PaypalBuyerAccountEmail containing the TrackingNumber and Carrier, | ||
* which allows the end user to track their shipment with the carrier. | ||
* Default value: false | ||
*/ | ||
@SerializedName("NotifyBuyer") | ||
private boolean notifyBuyer; | ||
|
||
public String getTrackingNumber() { | ||
return trackingNumber; | ||
} | ||
|
||
public PayPalWebTracking setTrackingNumber(String trackingNumber) { | ||
this.trackingNumber = trackingNumber; | ||
return this; | ||
} | ||
|
||
public String getCarrier() { | ||
return carrier; | ||
} | ||
|
||
public PayPalWebTracking setCarrier(String carrier) { | ||
this.carrier = carrier; | ||
return this; | ||
} | ||
|
||
public boolean isNotifyBuyer() { | ||
return notifyBuyer; | ||
} | ||
|
||
public PayPalWebTracking setNotifyBuyer(boolean notifyBuyer) { | ||
this.notifyBuyer = notifyBuyer; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Fri Feb 16 11:11:37 EET 2024 | ||
#Wed Mar 27 13:36:37 EET 2024 | ||
version=2.36.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.