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

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

The newest version!
// This class was generated on Thu, 16 May 2019 09:53:44 PDT by version 0.1.0-dev+8fcb5f of Braintree SDK Generator
// AddressPortable.java
// @version 0.1.0-dev+8fcb5f
// @type object
// @data H4sIAAAAAAAC/8xY32/bOBJ+v79i4HtpAFlqkt29Q97SFNvd7bZbNGnvIVdEI2lsDUKR6pCy4x7ufz+QlGzLP/rjtgj2zeaMSM433ww/8j+Tm1VLk4sJVpWQtXetEYeFokkyeY/C/udrbI54vKRVb5wkk+dkS+HWsdGTi8lNTTB4AmtHotGbUEFrrEMF/XwpvMLWgjNwexlH3qPiKji/IocVOvzwpHautRdZNmdXd0VamiabGzNXxKf/1Jniop+Nddu5bMn3nB2d7QRQV/DLzavf4cf0FG4vO2dmrBTrOcyMNFAa7cQoewGuJsDOmdI0rSJHgM4JF52jzZaWy2W6PE+NzLObt1ntGvXjaWapnPq5bOoH/o6bJcLwdFhi6mqabq8wXa9wkk6SyaUIrmKKniaTt4TVH1qtJhczVJb8wMeOhar1wBsxLYljspOL23VyeyjgOTlkZY/ntlo7bFK7b9vPtDZ6us42VhX3qe6/hf5bcDU6QCGwpiHHDVnQRBVVHngIGDDqkhIQtvcJGAHjahKwJWkUNhaWNQnBjDVN54Ks12uw9siGTEPD89pBQf3sKbw2bkPHJbvaL9YYDa5mqaBFcatAC9OSBms6KSmFt1R1ukLthk/CyqQqm/67e/r0vCwkCz/oZyNAD+hzmEC+WyrpMKBY091pDmyhsx0qtQL0Oyk4VgeY2ebrHrTUOiFyd7prCpI8gXwYwIbyJOx6GHKrlvLvxxvrhPV8ny5Fx6piPQ9bGJFl1zKmyiX44QqUKUO4PSGEWiFL2tlQcK1Qw5ZSeLeGaJg2fO9ZEcGAQBqlqBzAGxxtzBgOaR5/l8IoXzGXpakoJvNKcEEafjGdjSNltjH+WXR1p9R/ky9CXJHiBcnqzpIsuByjfMC4X5ODE/ROKbwx1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E43SCcbqcB6Q9PssqUNmPtaC6hOrIoHzIh67J++qn3tdlJvC1w5a8XM6Z4W+h9PAmE5rxu9YUy5f3HzjjaBs46MXoeR14bRz0/su1xuNmadkMIIXTwTDhoWrZ7DyAvnu09e6zP4V3fdy8P+HppQBX0itmZdhpFRWUav6TvIzZsJcDQb9DfkCh8kF+d5fvbDiSCpRFVLbkf88INJfScTvePqooqaIVLgidX796cQEOu9gVZoL6HMlRlEP1irJ0W8ZrnBLXFoPWGt71sF/ZvIaiT7v/jZyzifXqOxw+9tYfi9/YtgebB/MRtxNBLq48dL1D56yDcrFoug3yT7atRhN1Tsr90bs0cVK4ezXJNBLdbLpt3cdLpku+5JX+2GJnHV/k3mzhOvtOV9G//AwAA//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 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).
 */
@Model
public class AddressPortable {

    // Required default constructor
    public AddressPortable() {}

	/**
	* The first line of the address. For example, number or street. For example, `173 Drury Lane`. Required for data entry and compliance and risk checks. Must contain the full address.
	*/
	@SerializedName("address_line_1")
	private String addressLine1;

	public String addressLine1() { return addressLine1; }

	public AddressPortable addressLine1(String addressLine1) {
	    this.addressLine1 = addressLine1;
	    return this;
	}

	/**
	* The second line of the address. For example, suite or apartment number.
	*/
	@SerializedName("address_line_2")
	private String addressLine2;

	public String addressLine2() { return addressLine2; }

	public AddressPortable addressLine2(String addressLine2) {
	    this.addressLine2 = addressLine2;
	    return this;
	}

	/**
	* The third line of the address, if needed. For example, a street complement for Brazil, direction text, such as `next to Walmart`, or a landmark in an Indian address.
	*/
	@SerializedName("address_line_3")
	private String addressLine3;

	public String addressLine3() { return addressLine3; }

	public AddressPortable addressLine3(String addressLine3) {
	    this.addressLine3 = addressLine3;
	    return this;
	}

	/**
	* The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. Format for postal delivery. For example, `CA` and not `California`. Value, by country, is:
  • UK. A county.
  • US. A state.
  • Canada. A province.
  • Japan. A prefecture.
  • Switzerland. A kanton.
*/ @SerializedName("admin_area_1") private String adminArea1; public String adminArea1() { return adminArea1; } public AddressPortable adminArea1(String adminArea1) { this.adminArea1 = adminArea1; return this; } /** * A city, town, or village. Smaller than `admin_area_level_1`. */ @SerializedName("admin_area_2") private String adminArea2; public String adminArea2() { return adminArea2; } public AddressPortable adminArea2(String adminArea2) { this.adminArea2 = adminArea2; return this; } /** * A sub-locality, suburb, neighborhood, or district. Smaller than `admin_area_level_2`. Value is:
  • Brazil. Suburb, bairro, or neighborhood.
  • India. Sub-locality or district. Street name information is not always available but a sub-locality or district can be a very small area.
*/ @SerializedName("admin_area_3") private String adminArea3; public String adminArea3() { return adminArea3; } public AddressPortable adminArea3(String adminArea3) { this.adminArea3 = adminArea3; return this; } /** * The neighborhood, ward, or district. Smaller than `admin_area_level_3` or `sub_locality`. Value is:
  • The postal sorting code for Guernsey and many French territories, such as French Guiana.
  • The fine-grained administrative levels in China.
*/ @SerializedName("admin_area_4") private String adminArea4; public String adminArea4() { return adminArea4; } public AddressPortable adminArea4(String adminArea4) { this.adminArea4 = adminArea4; return this; } /** * REQUIRED * The [two-character ISO 3166-1 code](/docs/integration/direct/rest/country-codes/) that identifies the country or region.
Note: The country code for Great Britain is GB and not UK as used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
*/ @SerializedName("country_code") private String countryCode; public String countryCode() { return countryCode; } public AddressPortable countryCode(String countryCode) { this.countryCode = countryCode; return this; } /** * The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. See [postal code](https://en.wikipedia.org/wiki/Postal_code). */ @SerializedName("postal_code") private String postalCode; public String postalCode() { return postalCode; } public AddressPortable postalCode(String postalCode) { this.postalCode = postalCode; return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy