com.paypal.orders.Payer 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
// Payer.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/9xa33PbtpN/v79ix31IPCNRtZ3k7vJ0jp226Y/UEzvtgy8jLcmViDEIsAAombnp/36zACiJIpU4qatv5/sm4ffufnbx2QX/7+imqejo5VGFDZmj0dFvaASmkt5iud38EzWx5Wh0dEk2M6JyQqujl0c3BUFWW6dLMrAqNGBVGb0kC6hyqLCxMNcGXEGgTU4mgc4MYQGl1XCn9EoBWj/Qb5scjY7OjcEmHPHb0dE7wvxXJZujl3OUlrjhj1oYytcNV0ZXZJwge/Tydi0c5rkha6eVNo6F68s5MGIjcuwclLydAEI5Mgq5CyVU2jqUEGcm8AtWFpyG2/PQ8htKkfvBv5DDHB1+eFo4V9mXk8lCuKJOk0yXk4XWC0ni5L/URIo0riZUVbvJStyJyd7Vjr3yf7j55Wd4npzA7Xnt9FxIKdSCrVFCppUzWtqXXt9YO53pspLkCNA5I9La0eZIq9UqWZ0l2iwmN+8mhSvl85OJpWzMa9mEG77BzRa+edxuMXYFjbd3GK93OH48G0dVwCU5FNLuN3G+HtCz8FZf39JKq/Ha2pjnIpo6zoU4F1yBDtAQWF2SEyVZUEQ55d4NvA4EqoxGYIS9G4E2oF1BBmxGCo3QFlYFGYK5UDReGBRqvYdQrFlvaSjFonCQUlw9gbfabeC4Eq7gzUqtwBXCsCca13hY6IoUWF2bjBJ4R3mtclSuneJ3Jpnb5H/rb789y1Iz8T/oO22A7pFtOILZrsckbYMUiqYnM3bs2tYoZQPIJ0lF8A7Q883sqLTEOkPkpqouUzKzEczaBixpNvKnbptcU9Hs8XBjnRFq0YdLWguZC7XwR+iAZbenC5Vz4OYcpM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Wc3dLk2lthWLrc/sIlMjuwi+PkCY+7nltBCaAiuNHSmArKRy7lA4lwRFItG2xf13LWxWkNkr07+XrPQ8UKYa1uV+Hvw8cuSJjtRptmp/YUGY84CvMQixJ9QXpNH+dJH4Jb/JoyQNKVYo8l9QXq9v+dXKFNSIkmbr6bzWc9qV4grKWTlSStsdxMpTJ2hf9w1Ic35tSZEE/yP7wxI46ax9GU5Whubjvcs62aYBu+q5R4BSOr3SnO8o55PthPd89+bppgNX5rvVnN/+S85r+W+e67euwGOcHEJVCNhGW573Phx4aRsMunwR23HQX1GUX1KVuQR3HH4z2+y+lpiLvgnrT2AfHFTZXKMMnVvDmciuTQijR3lHORMXG9zm3mYGZz5vaZymmgqr9rIUZtefkm29NBEX6szuPebXfIZUNkMpM4wkWUzpfZK+MIMfEecmiKsfHeIWWzk5DPZ65vuaJnK3x+QzZWrpHRnZVaEVTlql9Jd7VfG/AlgG4bziocM92ffHxWNFV3HTwnAMv9jsd+87afjwhFAhnmb5oxUn1zhdvt6+TkxfP4mh2k0qi6qWMq9UqEa5OhHITQ9nkZvzu9cXYT52Q+rJsuV9/uH14aQz9h2pfUSJbl2zCCqFm8PTi4vhAGorlrjL11ciYjURHvbgIybpn33HX6HVlzSEx8M6FIXRtifbkOeRiIVx01t15mVaWcw7eAje9OVnXfs8VNPD28iJ8dGjrlHXGk+MaT6/fHh8qp713pDh2DQF+oLNv3/Wgw74Lt5odOne/byjb6tjtHwDGvY7y74HRPdXPB93ZPvAOXxr7P0kK0dhXpx6bXDi8n/KV1D/qVs/moFuNA58o4D28uVyDIH7m/fCPvuGVdgXM/B55eBqPf8KXn77O01Zz//6SQti6L37+ye/gn9iohwSu66rSxkWe5DoEzH+MEUr3oJVstgrWgfpGZQoLJyfbtS6pw3fcIFQuliKvUYbP7U+eDQ5r6wVkk4NU+LcMNqC6/Rjv6S9WY79IiY/ixR/+/I//BwAA//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 customer who approves and pays for the order. The customer is also known as the payer.
*/
@Model
public class Payer {
// Required default constructor
public Payer() {}
/**
* The portable international postal address. Maps to [AddressValidationMetadata](https://github.com/googlei18n/libaddressinput/wiki/AddressValidationMetadata) and HTML 5.1 [Autofilling form controls: the autocomplete attribute](https://www.w3.org/TR/html51/sec-forms.html#autofilling-form-controls-the-autocomplete-attribute).
*/
@SerializedName("address")
private AddressPortable addressPortable;
public AddressPortable addressPortable() { return addressPortable; }
public Payer addressPortable(AddressPortable addressPortable) {
this.addressPortable = addressPortable;
return this;
}
/**
* The stand-alone date, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). To represent special legal values, such as a date of birth, you should use dates with no associated time or time-zone data. Whenever possible, use the standard `date_time` type. This regular expression does not validate all dates. For example, February 31 is valid and nothing is known about leap years.
*/
@SerializedName("birth_date")
private String birthDate;
public String birthDate() { return birthDate; }
public Payer birthDate(String birthDate) {
this.birthDate = birthDate;
return this;
}
/**
* The internationalized email address.Note: Up to 64 characters are allowed before and 255 characters are allowed after the @
sign. However, the generally accepted maximum length for an email address is 254 characters. The pattern verifies that an unquoted @
sign exists.
*/
@SerializedName("email_address")
private String email;
public String email() { return email; }
public Payer email(String email) {
this.email = email;
return this;
}
/**
* The name of the party.
*/
@SerializedName("name")
private Name name;
public Name name() { return name; }
public Payer name(Name name) {
this.name = name;
return this;
}
/**
* The PayPal payer ID, which is a masked version of the PayPal account number intended for use with third parties. The account number is reversibly encrypted and a proprietary variant of Base32 is used to encode the result.
*/
@SerializedName("payer_id")
private String payerId;
public String payerId() { return payerId; }
public Payer payerId(String payerId) {
this.payerId = payerId;
return this;
}
/**
* The phone information.
*/
@SerializedName("phone")
private PhoneWithType phoneWithType;
public PhoneWithType phoneWithType() { return phoneWithType; }
public Payer phoneWithType(PhoneWithType phoneWithType) {
this.phoneWithType = phoneWithType;
return this;
}
/**
* The tax ID of the customer. The customer is also known as the payer. Both `tax_id` and `tax_id_type` are required.
*/
@SerializedName("tax_info")
private TaxInfo taxInfo;
public TaxInfo taxInfo() { return taxInfo; }
public Payer taxInfo(TaxInfo taxInfo) {
this.taxInfo = taxInfo;
return this;
}
}