com.paypal.orders.PurchaseUnitRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.payment.method.paypal
Show all versions of com.liferay.commerce.payment.method.paypal
Liferay Commerce Payment Method PayPal
The newest version!
// This class was generated on Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator
// PurchaseUnitRequest.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/+x923IcN5L2/f8UGZwLi/N3N4ekpdlVxEQsTUo2bVlmiJQnJmRHF7oqqwtLFFAGUN1sb+zFPMA+yN7uK8zse23gVOcmKbnVdlh1RTaAwiGRSGR+SCT+4+BmU+DB84OrUsYZUQhvOdXwBn8qUemDycH3RFKyYPia5KbYweTgG9zUPy5QxZIWmgp+8PzgJkMoQkWlqUi6imZwyWNWJqhsCpWYAOWpkDkxn0IqJGjzMdnkyDXEgmtJYj07mBycSUk2rpd/mhy8QZJ8x9nm4HlKmEKT4OqrEq6kKFBqiurg+btqfCQXJdfzNdXZfCGR3CZizfvj21asHrQrMTh0LTRhIGSCElwxMBUB4SBsOcKgqhR0RjQUUqyoIUuCmlCmJqDKOAOiLDlchVRj7uub+CRN7qoUldGioHw5gYzwhNn/KFelJDzGCRCeQEJVbAqrCdAUCN/Mfij/9KfTeCGP7D94mcJGlKAKjGm6gcjVPas6G01sf/yg8KeSMAWR6djcdiiCgpUKIk3u2gmhc+F36GL4XXU0gpzy5hfz0OmQE353+35TdywvlYYFAoFCKKrpCoGX+QLlDF4KCYwqjQmIFFRZFEKaH3EpJfKYonKUwpjmhEEhMaaKCj4BhWgHf0U2V4TBmxfXN3B2danA9YNAJjH9yw8HR4mI1RHlGpfScvVRQiXG+kii0ke+nc00Fgmqox8OXOfPfTKcm2RX4xFxeTtn/of5fpjlm6l9rq85WqQNLpnBF1VGl8trJv9oDL4z2n0rOG76BAsttgjVSOzTKXCA7bBnWCP3CKSUEx5TM2xJuCKxdozniURgQZgZKw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WLn0PjK3BrEQh3rjXBi9dfnxFLhxjk5BahLGo9x/oxktjedLKEIcv9xSwuiDQ75ODSHcr9XS7eeqA9WLeXNUK7I7Q7xDk9wd/L+rVF/+jqMKKII4o4oogP+NQSaZ+mo6q/Zvp5Q6+cJ/6ewWJTe201gAViLRln1hhBgty9QeKLKk3SNDx+H4A1d904pf45IVmy6kLJxwIQR1eQUVaOsnKUlffKSget9eVkK33gyQSb37tmZQZhdNjlvsBl388BY7ib86uPYatDt3sqZx4zolQncEo7Z+iZBVsCbAmzwdSBLtruxkDcq+F7e+ZFFGI1BMZ0c/pjEhwDENNAXwbdFurruFS5V1OYexDRIhQEQmOjK8O4sY4b67ix7mxjfezTqK0gE22HuU7OALTiT01CSUuSWr73g3AYIejRtR15b5lB/r//AwAA//8=
// DO NOT EDIT
package com.paypal.orders;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import com.paypal.http.annotations.*;
/**
* The purchase unit request. Includes required information for the payment contract.
*/
@Model
public class PurchaseUnitRequest {
// Required default constructor
public PurchaseUnitRequest() {}
/**
* The total order amount with an optional breakdown that provides details, such as the total item amount, total tax amount, shipping, handling, insurance, and discounts, if any.
If you specify `amount.breakdown`, the amount equals `item_total` plus `tax_total` plus `shipping` plus `handling` plus `insurance` minus `shipping_discount` minus discount.
The amount must be a positive number. For listed of supported currencies and decimal precision, see the PayPal REST APIs Currency Codes.
*/
@SerializedName("amount")
private AmountWithBreakdown amountWithBreakdown;
public AmountWithBreakdown amountWithBreakdown() { return amountWithBreakdown; }
public PurchaseUnitRequest amountWithBreakdown(AmountWithBreakdown amountWithBreakdown) {
this.amountWithBreakdown = amountWithBreakdown;
return this;
}
/**
* The API caller-provided external ID. Used to reconcile client transactions with PayPal transactions. Appears in transaction and settlement reports but is not visible to the payer.
*/
@SerializedName("custom_id")
private String customId;
public String customId() { return customId; }
public PurchaseUnitRequest customId(String customId) {
this.customId = customId;
return this;
}
/**
* The purchase description.
*/
@SerializedName("description")
private String description;
public String description() { return description; }
public PurchaseUnitRequest description(String description) {
this.description = description;
return this;
}
/**
* The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
*/
@SerializedName("invoice_id")
private String invoiceId;
public String invoiceId() { return invoiceId; }
public PurchaseUnitRequest invoiceId(String invoiceId) {
this.invoiceId = invoiceId;
return this;
}
/**
* An array of items that the customer purchases from the merchant.
*/
@SerializedName(value = "items", listClass = Item.class)
private List- items;
public List
- items() { return items; }
public PurchaseUnitRequest items(List
- items) {
this.items = items;
return this;
}
/**
* The merchant who receives the funds and fulfills the order. The merchant is also known as the payee.
*/
@SerializedName("payee")
private Payee payee;
public Payee payee() { return payee; }
public PurchaseUnitRequest payee(Payee payee) {
this.payee = payee;
return this;
}
/**
* Any additional payment instructions for PayPal for Partner customers. Enables features for partners and marketplaces, such as delayed disbursement and collection of a platform fee. Applies during order creation for captured payments or during capture of authorized payments.
*/
@SerializedName("payment_instruction")
private PaymentInstruction paymentInstruction;
public PaymentInstruction paymentInstruction() { return paymentInstruction; }
public PurchaseUnitRequest paymentInstruction(PaymentInstruction paymentInstruction) {
this.paymentInstruction = paymentInstruction;
return this;
}
/**
* The API caller-provided external ID for the purchase unit. Required for multiple purchase units when you must update the order through `PATCH`. If you omit this value and the order contains only one purchase unit, PayPal sets this value to `default`.
*/
@SerializedName("reference_id")
private String referenceId;
public String referenceId() { return referenceId; }
public PurchaseUnitRequest referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
}
/**
* The shipping details.
*/
@SerializedName("shipping")
private ShippingDetail shippingDetail;
public ShippingDetail shippingDetail() { return shippingDetail; }
public PurchaseUnitRequest shippingDetail(ShippingDetail shippingDetail) {
this.shippingDetail = shippingDetail;
return this;
}
/**
* The payment descriptor on account transactions on the customer's credit card statement. The maximum length of the soft descriptor is 22 characters. Of this, the PayPal prefix uses eight characters (`PAYPAL *`). So, the maximum length of the soft descriptor is:
22 - length(PayPal *) - length(soft_descriptor_in_profile + 1)
If the total length of the `soft_descriptor` exceeds 22 characters, the overflow is truncated.
For example, if:- The PayPal prefix toggle is
PAYPAL *
. - The merchant descriptor in the profile is
VENMO
. - The soft descriptor is
JanesFlowerGifts LLC
.
Then, the descriptor on the credit card is PAYPAL *VENMO JanesFlo
.
*/
@SerializedName("soft_descriptor")
private String softDescriptor;
public String softDescriptor() { return softDescriptor; }
public PurchaseUnitRequest softDescriptor(String softDescriptor) {
this.softDescriptor = softDescriptor;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy