com.paypal.payments.Refund 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
// Refund.java
// @version 0.1.0-dev+904328-dirty
// @type object
// @data H4sIAAAAAAAC/+xcb28bN9J//3yKgfoAjQFZSpPYbf3qnNq5+q6ODds54OALJGo50vLMJbckV7Lu0O9+GHJX2r+128jONbcvgkAz5O7McPibGe6Y/x7crFMcHA2ucJ4pPhgO/saMYDOJ71lC9MFw8Fdcb3+coI2MSJ3QanA0uIkRjJ8JQs21SRgxRoPh4NgYtg7PfjkcXCHjF0quB0dzJi0S4edMGOQbwqXRKRon0A6ObjdSnWuF66ZQLNGZchXRNqSmgFFmDKpoDUxxCONgrg0wmAvFVCSYBGeYsiyiWUOwWRQDs8BgxiRTEYI2kLJ1gsoBz3B3+llnhFo0FSxEnkSaY0XPOqep7q2LDeJ+FDPDIocGzq4v9t+8+ubbrSFo7scXY64jOxbK4cL4dRtzYTByY4PWjYvB+zTYjvfAxcyB4KicmAu04Eqm/U0WcSarGURlUv4yfNAqSyazqjUKStMKnjOEVSyiGBKxiB3M8Ogf2cuXr6NM+v8x/JIi/DpW4G2BxntHrhppKsUdwvQvl3+fBiMwg6C0A7dORcSkXMPcBN9hchQeOi6eWnsHcIxEwuRmRvu7bt6flN5lsxkXS8GRdpnT4GKdWaa4i23768aFhu+08etkcuODypIZGtDzjSCpZBHafENUPGQIFhFufyhoP5Aj/Fa32YVnfHyEb0QGmcOJE0ltv1ToTT/hzKEHBhoxBKHg9kw5NApdlQcB3j6+iJ1L7dF47LSWdiTQzUfaLMaxS+TYzKPXr19//5VFv7j7B6PDvRFcY6QVt34tNyuxioXEkuOALY3SacWbZlJHdz9n2mF5la0zWi0C5b12hXePy3QICL3IJDOA96lBa8nrUqPJoSwsMsE9xM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XzMMzkXUgZyfn3GTXmusMCk1XCn9EoRiBTNFs+BGlKgcvWLQ8rUphHSbCZFtN3XwflZmkK4Asf/9X7ZOuOgDJwpZzTPovB37jZLU20cZBYhYhYtvKDn4GgxgreGCXVjEKHkNKEmDx8I9vIvA/7JoVNlwjg3aK3v+c7fPBH+uwPtPLZkQpLmz3SyUZGpegxY4zQtLHy3IwvwIP6FPGgI+ZxPv6vnQ0orcPimdP+Ehw0mpV7RAuJcm9B7++rgoGsUm1OsoJUO76D9G17wp/ylWwpYsVAj+FGvcIlm6GeFi3MIDFkUYUqek7B7kWQJSFQLFwfHUlXtaUFfHbxpXJ2Rt77BEk0RbQgMFWTKG4k/VkrAe2HdZ76BqOTBtZ7pMr3rTqK8V+vspAhnhDGQMHuHnAzkb2Zq/+KWwz25oKLwQUtAW7TodjTc53kCc7PX51kw6N8wk2tAFZm1X1ifSEFqdGoEOmbWsCSFlT9GI2B+/YrmZjaAg2+ZLq7BsJnc1cHaI8pmpx2Tk5CWtn/y6xrR55F9HtnnkV/wQVvnty/HXFYN8htS0z8Cq4DfiKUuM7vOSq7DO05Cvtol8YRv+HXJS6zuNLja4BEmPj1ChTbn2j1FOamzKXoVr8uyxnmaPb08fX9y9v7PU8LZ6bvjs59OT6Y70uTRPd9ZyltvlKzS+xsl/3tvlPz4y//9BwAA//8=
// DO NOT EDIT
package com.paypal.payments;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import com.paypal.http.annotations.*;
/**
* The refund information.
*/
@Model
public class Refund {
// Required default constructor
public Refund() {}
/**
* 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 Refund amount(Money amount) {
this.amount = amount;
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 Refund createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* The PayPal-generated ID for the refund.
*/
@SerializedName("id")
private String id;
public String id() { return id; }
public Refund 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 Refund invoiceId(String invoiceId) {
this.invoiceId = invoiceId;
return this;
}
/**
* An array of related [HATEOAS links](/docs/api/overview/#hateoas-links).
*/
@SerializedName(value = "links", listClass = LinkDescription.class)
private List links;
public List links() { return links; }
public Refund links(List links) {
this.links = links;
return this;
}
/**
* The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.
*/
@SerializedName("note_to_payer")
private String noteToPayer;
public String noteToPayer() { return noteToPayer; }
public Refund noteToPayer(String noteToPayer) {
this.noteToPayer = noteToPayer;
return this;
}
/**
* The breakdown of the refund.
*/
@SerializedName("seller_payable_breakdown")
private MerchantPayableBreakdown sellerPayableBreakdown;
public MerchantPayableBreakdown sellerPayableBreakdown() { return sellerPayableBreakdown; }
public Refund sellerPayableBreakdown(MerchantPayableBreakdown sellerPayableBreakdown) {
this.sellerPayableBreakdown = sellerPayableBreakdown;
return this;
}
/**
* The status of the capture.
*/
@SerializedName("status")
private String status;
public String status() { return status; }
public Refund status(String status) {
this.status = status;
return this;
}
/**
* The details of the refund status.
*/
@SerializedName("status_details")
private StatusDetails statusDetails;
public StatusDetails statusDetails() { return statusDetails; }
public Refund statusDetails(StatusDetails statusDetails) {
this.statusDetails = statusDetails;
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 Refund updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
}