com.paypal.orders.Capture 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 Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator
// Capture.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/+xcbW8bN/J///8UA/UPNAb0kCZx2vrVObV79V2dGLZzwMEXSKPlrJZnLrkluZJ1h373A8ldaZ8Up42su7b7wjDE4cPMcObHmeXDvwe364wGJ4MIM5trGgwHf0PNcS7oLaZ1wl9pXZQNhoMzMpHmmeVKDk4Gp1BUY5DhOiVpx4Ph4FRrXIf+nw8H14TsnRTrwUmMwpAr+Cnnmtim4EqrjLTlZAYndxvOLpWkdZsvTFUubY2tTVGduduEIMq1JhmtASWDUA9ipQEh5hJlxFGA1SgNRq7VEEweJYAGEOYoUEYESpeyActpf/IZq7lcdCi+YHkaKVZXf5PSFvfOJppoFCWoMbKk4eLm3ejVi6++3irCtf3wbMJUZCZcWlpodB1MGNcU2YkmYydl5ZGrbCZHYBO0wBlJy2NOBmxFtb9II1bnDYXIXIifh49qZYkir2ujLGlrwVOGsEp4lEDKF4mFOZ38I3/+/GWUC/+fwi/Bw69TCV4XpL11FKI5SQW/J5j95ervs6AE1ARSWbDrjEcoxBpiHWwHxTh0Oil7bYwBjCKeoti06B7r9u1ZZSyTzxlfckbMcajAJio3KJlNTPdwk1LC75X286QL5YPM0zlpUPGGkUxgRKZwiJqFDMEQwd13Zdl3zhB+qdnswzI+VGyjwJqpsWhzM2VkkQuzE7ra9bbG0yK1raigOX15c28AHYQunh4PNKFRssb9pqjNdSDBKll/jGvgBmZX52/PLt7+eeYQbnZ2/vbi/Gz2ueK05mwnymlCS1PL0wbG1co7ZgUteTB3NYbAJdxdSEtakq3TnFWnaD88S6zNzMlkYpUSZszJxmOlF5PEpmKi4+jly5fffmHIO+To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jbH3q0ClMpb6q+62vCrMMOoXEc0LQesz2qL9hu88PEZ4b3/vNetmjbtD6WaX3IZpjg9t70I5V1hDOc/5XyJgoJbOE/IJbclDgTb28pVpIY2LODlXRmlN1dJPAMhaHV9WQVfHQPjC25NGfFqfxOnGGBzBUXxPZ2sreFs992xhVbGTDtukDUI/T2y/h5Zf4/sd3uPbAc6SLJd2FAr7pGhR4YeGf5oyBCSx2lM1PgaVinukaFHhh4ZfrfIkAm0sdJp4e1NgKhQG9+eG5TdH/zKmsHptZXOIIiMv9qUcn8P2Awdda7VPWlckKcX82WMiri/UVLsHDz6Med1/zZHj489Pvb4uBd8xDXRdI6GOsOnLa0WPu2InMqnN8p9jvJ+P6wStblf7CnheQAHIHEuYi5EKC4uNt9W23IDKIyCe6lW0sFIeWX5ELghOEnbvNJdLe3YRc3ngkfVC+me2ZE/kVYINQrPZTDALBvDhbRasTwKNw1NnmVKW8iNWwmMW0hKAH2jkctbTQQVcwnrRthbcQ5KuhgRZv6i9xQZ02RMeC+k5GDKmb/R6vwOl8iFk/pAn0E9W/W9giqjnVrl/rAHBlDwTyn4NlC0+fwHPN5nTvmvX1Vu/3qwQCHUihjMKVY6nD16cXy8qxbGttgxC2M4rw0D/KkYdFsChi/kGH5QK1qSHvpW4UEDB4EYRZQ5E0nxgad5CoLkwiYBWGRdejeRL45ftS4ulxv6S9LlGuMgUEIuvZLYp3IJ9MCN/S8/S1Ix3caZsWr5rrciilcOLs7KRczhCqRo7ok5BZmw2e1noWiBUeSDmwLkw/sZxTau887yqIdmPvDjVKi92c6AJj/CXKyBZKTXfmJ9+OQPW2hOFvUalk5g6b+1v0FDL1+4trkJuOBPjJV3kE0u9vX1/RPy6MoGZUeo2EXto8Y+auyjxt9Z1PhhrwdNnH0Ur5o90SGGTzToPGOdT5rVy/snzf53nzT78PP//QcAAP//
// 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.*;
/**
* A captured payment.
*/
@Model
public class Capture {
// Required default constructor
public Capture() {}
/**
* The currency and amount for a financial transaction, such as a balance or payment due.
*/
@SerializedName("amount")
private Money amount;
public Money amount() { return amount; }
public Capture amount(Money amount) {
this.amount = amount;
return this;
}
/**
* The details of the captured payment status.
*/
@SerializedName("status_details")
private CaptureStatusDetails captureStatusDetails;
public CaptureStatusDetails captureStatusDetails() { return captureStatusDetails; }
public Capture captureStatusDetails(CaptureStatusDetails captureStatusDetails) {
this.captureStatusDetails = captureStatusDetails;
return this;
}
/**
* The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.Note: The regular expression provides guidance but does not reject all invalid dates.
*/
@SerializedName("create_time")
private String createTime;
public String createTime() { return createTime; }
public Capture createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* The funds that are held on behalf of the merchant.
*/
@SerializedName("disbursement_mode")
private String disbursementMode;
public String disbursementMode() { return disbursementMode; }
public Capture disbursementMode(String disbursementMode) {
this.disbursementMode = disbursementMode;
return this;
}
/**
* Indicates whether you can make additional captures against the authorized payment. Set to `true` if you do not intend to capture additional payments against the authorization. Set to `false` if you intend to capture additional payments against the authorization.
*/
@SerializedName("final_capture")
private Boolean finalCapture;
public Boolean finalCapture() { return finalCapture; }
public Capture finalCapture(Boolean finalCapture) {
this.finalCapture = finalCapture;
return this;
}
/**
* The PayPal-generated ID for the captured payment.
*/
@SerializedName("id")
private String id;
public String id() { return id; }
public Capture id(String id) {
this.id = id;
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 Capture invoiceId(String invoiceId) {
this.invoiceId = invoiceId;
return this;
}
/**
* An array of related [HATEOAS links](/docs/api/reference/api-responses/#hateoas-links).
*/
@SerializedName(value = "links", listClass = LinkDescription.class)
private List links;
public List links() { return links; }
public Capture links(List links) {
this.links = links;
return this;
}
/**
* The level of protection offered as defined by [PayPal Seller Protection for Merchants](https://www.paypal.com/us/webapps/mpp/security/seller-protection).
*/
@SerializedName("seller_protection")
private SellerProtection sellerProtection;
public SellerProtection sellerProtection() { return sellerProtection; }
public Capture sellerProtection(SellerProtection sellerProtection) {
this.sellerProtection = sellerProtection;
return this;
}
/**
* The detailed breakdown of the captured payment.
*/
@SerializedName("seller_receivable_breakdown")
private MerchantReceivableBreakdown sellerReceivableBreakdown;
public MerchantReceivableBreakdown sellerReceivableBreakdown() { return sellerReceivableBreakdown; }
public Capture sellerReceivableBreakdown(MerchantReceivableBreakdown sellerReceivableBreakdown) {
this.sellerReceivableBreakdown = sellerReceivableBreakdown;
return this;
}
/**
* The status of the captured payment.
*/
@SerializedName("status")
private String status;
public String status() { return status; }
public Capture status(String status) {
this.status = status;
return this;
}
/**
* The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.Note: The regular expression provides guidance but does not reject all invalid dates.
*/
@SerializedName("update_time")
private String updateTime;
public String updateTime() { return updateTime; }
public Capture updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
}