com.paypal.payments.MerchantPayableBreakdown Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk Show documentation
Show all versions of checkout-sdk Show documentation
PayPal SDK for integrating with the Checkout REST APIs
// This class was generated on Wed, 22 Aug 2018 20:48:41 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// MerchantPayableBreakdown.java
// @version 0.1.0-dev+904328-dirty
// @type object
// @data H4sIAAAAAAAC/+yZ32/bOBLH3++vGPipBdy4TZsekKdLf+Fyh02DbnaBRbdwx+TIIkKR6nBkV7vY/31BUbItW9lNi6DApnoyzCFFzpczH43I3ydXdUmT08kPxCpHJ3CJNS4swQsmvNZ+7SbTyc/IJjZeYBH7TqaT/1O9/fOKgmJTivFucjq5ygkW3WDwGUhOwJRVTh9NppMzZqzTpI+nk3eE+q2z9eQ0QxsoNnyqDJPeNFyyL4nFUJicvt8u1zuqD1e2ZB/CHAtfOemtcs9wuGJVMZNTNaDTkPpB5hkQMuPQKYMWhNEFVHHUFEKlcsAACAu06BSBZyixLsgJ6IruztcgbNzy0NluyXPlNfW83bccuvteciZ6pHJkVEIM5z++ffTs+Mm/t0LEsR8ezLRXYWac0JIxPmCmDZOSGVOQWdf5UewcZg9BchQwmpyYzFBo9r7r9EWKCFd7grjK2j+mf6vKCm3VV6NrOVShsUxhnRuVQ2GWucCCTn+tHj9+qirb/FL6Z036d+ag0YK4iY7WteipNdcEH/93+cvHJAIygfMCUpdGobU1ZJxiB+1Reuise+reHKBJmQLtZsTwXFcXr3bmCtVCm5XRpOMKPUjuq4BOSx6Gp5t1Hr7x3OZoEh9cVSyIY+p2CyktKgptQvQiZAqBCN6/7NpexkD40rC5i8j4sBMbN9DBkQyxodc8kmEkw0iGe0uGCxI4Szm8KXDgXKj4K1rMFzu10BA3eh36wXTmAOP6o2bbqqgJr6Ra1NeRtGQ5gnckFTvSsM7J9bKkX0uBCaBNlhFHrGTsi8HOl1hfogVUqnF6nRNTYyi6gi/3VjfpaBjig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import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import com.braintreepayments.http.annotations.*;
/**
* The breakdown of the refund.
*/
@Model
public class MerchantPayableBreakdown {
// Required default constructor
public MerchantPayableBreakdown() {}
/**
* The currency and amount for a financial transaction, such as a balance or payment due.
*/
@SerializedName("gross_amount")
private Money grossAmount;
public Money grossAmount() { return grossAmount; }
public MerchantPayableBreakdown grossAmount(Money grossAmount) {
this.grossAmount = grossAmount;
return this;
}
/**
* The currency and amount for a financial transaction, such as a balance or payment due.
*/
@SerializedName("net_amount")
private Money netAmount;
public Money netAmount() { return netAmount; }
public MerchantPayableBreakdown netAmount(Money netAmount) {
this.netAmount = netAmount;
return this;
}
/**
* An array of breakdown values for the net amount. Returned when the currency of the refund is different from the currency of the PayPal account where the merchant holds their funds.
*/
@SerializedName(value = "net_amount_breakdown", listClass = NetAmountBreakdownItem.class)
private List netAmountBreakdown;
public List netAmountBreakdown() { return netAmountBreakdown; }
public MerchantPayableBreakdown netAmountBreakdown(List netAmountBreakdown) {
this.netAmountBreakdown = netAmountBreakdown;
return this;
}
/**
* The currency and amount for a financial transaction, such as a balance or payment due.
*/
@SerializedName("paypal_fee")
private Money paypalFee;
public Money paypalFee() { return paypalFee; }
public MerchantPayableBreakdown paypalFee(Money paypalFee) {
this.paypalFee = paypalFee;
return this;
}
/**
* An array of platform or partner fees, commissions, or brokerage fees for the refund.
*/
@SerializedName(value = "platform_fees", listClass = PlatformFee.class)
private List platformFees;
public List platformFees() { return platformFees; }
public MerchantPayableBreakdown platformFees(List platformFees) {
this.platformFees = platformFees;
return this;
}
/**
* The currency and amount for a financial transaction, such as a balance or payment due.
*/
@SerializedName("total_refunded_amount")
private Money totalRefundedAmount;
public Money totalRefundedAmount() { return totalRefundedAmount; }
public MerchantPayableBreakdown totalRefundedAmount(Money totalRefundedAmount) {
this.totalRefundedAmount = totalRefundedAmount;
return this;
}
}