com.paypal.orders.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 Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator
// Refund.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/+xc7W/cNtL//vwVg+0DNAb2JU1it/Wnx2ncp76rE8NxDjj4gt1ZcbTimSJVkvJad+j/fiAp7eptE7fZ7F1z+hAEO0NK88YfZ6gx/zm6KTIanY40xblko/HoL6g5LgW9xrRB/zMVJWk0Hr0iE2meWa7k6HR0kxCEccBlrHSKjjEdjUdnWmMR3vB0PLomZG+kKEanMQpDjvBLzjWxDeFKq4y05WRGp7cb2S6VpKIrGqYql7Yh2obUFTDKtSYZFYCSQRgHsdKAEHOJMuIowGqUBiM3awwmjxJAAwhLFCgjAqUhwyIlaYHltD/9jNVcrroKViLPI8WooWeb01X31iaaaBIlqDGypOHi7ZvJi2fffLs1hJv7/smMqcjMuLS00t5vM8Y1RXamydhZNXjiBpvZEdgELXBG0vKYkwFbM+1vsojVecsgMhfi1/FHrXKPIm9ao6J0reA5Y1gnPEog5avEwpJO/5Y/ffo8yoX/n8IvwcOvMwneFqR9dJSqOU0FvyNY/Onqr4tgBNQEUlmwRcYjFKKAWIfYQTEND51VT229AxhFPEWxmdH/rpvXr2rvMvmS8XvOyK0yq8AmKjcomU1M/+tmlYY/Ku39pEvjg8zTJWlQ8UaQTGBEplwQjQgZgyGC2x8q2g8uEH5r2OwjMt4/IjYiTWhpbnnaWi8NejdOGFrywOBGjIFLuL2QlrQk2+RBgLf3TxJrM3M6m1mlhJlysvFU6dUssamY6Th6/vz5918Z8s6dHE9PjqbwliIlmfG+3HhinXBBtcABUxulskY0LYWK7n7JlaW6l43VSq4C5bWyVXTP6nQICL3KBWqgh0yTMS7qMq1cQBlY5Zx5iFvmFpgi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pvA0SN2/qO3uLsPiCqRoZFr610AUFk/J9pp9xfJmHGjrvU6o40rsjzP3zjwslwI9AAggMIDiC4FxDEgmi+REO9OdKW18iRdqRHVW9HBV9p1bSwTtSmd8Vz/Nm0B5A4FzEXIpDLm1hu6nO5ARRGwZ1Uawll74WX4QC4IThJ276Dpk7tafvKl4JH9XtzvLAT30JfKjUJFysxwCybwoW0WrE8ClcjmDzLlLaQG4IIjdstKgB9qZHLG00EtXAJ1Xj4LjAuPwiEjwEL30Q0R8Y0GRPaVCoJ5pz5KzjcusN75MJpfaBzDS9W8/CvLmivVbnvTsUACvwfxEKHFJRzPv2qp3eZM/7Ji9p1JR4sUAi1JgZLipUOzdLPjo93jcLY7RDO6eEdbtWGF/xf+dItBQxfySn8pNZ0T3rsZ4V7lxwEYhRR5kIkxQee5ikIkiubBGCRTe2dI58dv+jctFJ1IN6TrvYYB4EScumNxB4rJdADN/bffIFVLXRbTe51+q4rrcoOuotX1SbmcAVSNHfEnIH8xV79H9lKkHchKN2m4VzgVmfVm6qZz+44lWZvzzOgyb9hKQogGenCO9anT747VHOyqAu4dwpLf3j2Eg09f+bm5ibggm9xry5NMbnY13HaI4plqyyKeUhG+z/07RoxZI9D9jhkj1/w8drOL16+DbanObg3PgKrgt8IM5vrQ2UjecZ6775s0oe7L/9z7758/+v//AsAAP//
// 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 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/reference/api-responses/#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 details of the refund status.
*/
@SerializedName("status_details")
private RefundStatusDetails refundStatusDetails;
public RefundStatusDetails refundStatusDetails() { return refundStatusDetails; }
public Refund refundStatusDetails(RefundStatusDetails refundStatusDetails) {
this.refundStatusDetails = refundStatusDetails;
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 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;
}
}