All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.orders.Customer Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// This class was generated on Tue, 04 Sep 2018 12:15:13 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// Customer.java
// @version 0.1.0-dev+904328-dirty
// @type object
// @data H4sIAAAAAAAC/9xb3XPbNhJ/v79ix31IMiNRtZ3k7vJ0jpym6UfqiZ32wZexluRKxBgEWACUzNz0f79ZAJREkcqnq+vcm7X43MVvF79d0P85umoqOnp2NK2t0yWZo9HRr2gEppJeY8ktR6OjH6nZ/DgnmxlROaHV0bOjq4Igi2NhVWjAqjJ6SRZQ5VBhY2GuDbiCQJucTAKdEcICSqvhVumVArS+Y4UNmeRodHRmDDZhg9+Ojt4Q5r8o2Rw9m6O0xILfa2EoXwsujK7IOEH26Nn1WrWzPDdkLVxo41ivvooDPTYqY2gc1LyKA0AoR0YhN6GESluHEuLIBH7GyoLTcB0X+hWlyH3nn8lhjg7fPSycq+yzyWQhXFGnSabLyULrhSRx/A81kSKNswlV1W6yErdisne2R97431/9/BM8SY7h+qx2ei6kFGrBp1FCppUzWtpn3t5YO53pspLkCNA5I9La0WZLq9UqWZ0m2iwmV28mhSvlk+OJpWzMc9mEBd/gZgkvHrdLjF1B4+0VxusVHt3/GZ+TQyFt/4ij9W7ydYfeCW+19U9aaTVenzbmuYhHHcdCHAuuQAdoCKwuyYmSLCiinHLvBt4GAlVGIzDC3o5AG9CuIAM2I4VGaAurggzBXCgaLwwKtV5DKLasP2koxaJwkFKcPYHX2m3guBKu4MVKrcAVwrAnGtd4WOiKlNW1ySiBN5TXKkfl2hF+YZK5TeA7bYDukA9tBLPWRu0SSSuQQtHN8Yw9ubY1StkA8tKpCO4Aer4ZHa2UWGeI3I2qy5TMzG9r1sqwpK7ENRXN7g8q1hmhFn2EpLWQuVALv4MOPnZbuug4AxbnIHXmFY4YMFQZsqRcjGmGSmEpgbdrI7XT+vEMhGAO8DiRkrLWf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ay/4ww3N7d+vmLizcvpmdXL85bBBrXPLCwHrtbc01rKxRDmOUjUCK7DX95mDfxodJbI9AaVBwMUwJbSeE4LuhQ6xyBRNu+YqyLlKuC1MaI/u1/veaBwt6wNffb8LeBLVdkrFajjfiBDfXTAz4vLcSSVF+RjvjLNPFT+COPJ3lArUqR55L6anXlX6ZXmCNCknm4/+7Eaf/GQFDW0olK0nY/zuwyWfvXjDAVX1JNKbJgH2R/eGBHnbkPY6nK0FzcdQl0Kxrgzr5pFAiSY37idMc4h3wYree7O1+LBiiqb1p/QvQ/2a/pP+KuZV+GxTg+gKgUsomwPOt9CvWpYTSs8kFgx0V3QV12QV3qFtSx/8FyGP/V1y6f2BL2wXGBzQXK8LkYvDrfSgsRSrS3lDPbsvHh0W1GYOaTwPa9jfmsaj/R4fTAJxib72YERQ63O46TBL9CKhsglZnGs0Tmpf71oDKCHGcBS1ZVOd7Gc7R0erIuXznNA0NVi8CQraW7Z2RfFFoN8J8qireMHSUDAYRbtouk98eAPrS7oc8Odhr27bX9AkQoEM4yVdFKZCh3vtS7fpEcP30ce7NLVBJVL9ddrVaJcHUilJsYyiZX4zcvpmM/dELq89L8fuHk+k+s6a1rTBi+/vNIezidPjqQZWJ9rkx9+TSmTdEZp9NQXfAMO64aPausOewFbrkwhK6tLx8/gVwshIsOuTsu08pycsRL4KY1J+vaz9GCBV6fT8NHkrZO2WY8OM7x8PL1157oZyRRisPTEM4HGofTKd/psG/arWGH9t1vG0qoOsf2F8DiXj/5v4boJ13LPt72vqfqiPcFYV9Nu2/+cIV38GpzE/V37PDuhq+qzn63hANfWfCU/SrEJ3+qDs+1K2Dm18jjx6vhR/h41Zel2iL0n188CEv31c8/+PX+AxvtkMBlXVXauMiIXIdq+e9JwosDaCWbrTp7ILnRmMLC8fF2aU7q8PU5CJWLpchrlOGfBI4fD3ZrKwNkDxONtw5swHT7od6zXywif5YR78WZ3/3xt/8CAAD//w==
// 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.braintreepayments.http.annotations.*;
/**
 * The customer who approves and pays for the order. The customer is also known as the payer.
 */
@Model
public class Customer {

    // Required default constructor
    public Customer() {}

	/**
	* 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 Customer 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 Customer 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 emailAddress; public String emailAddress() { return emailAddress; } public Customer emailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; } /** * The externally-provided ID of the customer. */ @SerializedName("external_id") private String externalId; public String externalId() { return externalId; } public Customer externalId(String externalId) { this.externalId = externalId; return this; } /** * The name of the party. */ @SerializedName("name") private Name name; public Name name() { return name; } public Customer 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 Customer payerId(String payerId) { this.payerId = payerId; return this; } /** * The phone information. */ @SerializedName("phone") private Phone phone; public Phone phone() { return phone; } public Customer phone(Phone phone) { this.phone = phone; 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 TaxInformation taxInfo; public TaxInformation taxInfo() { return taxInfo; } public Customer taxInfo(TaxInformation taxInfo) { this.taxInfo = taxInfo; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy