Class: PayPal::SDK::Merchant::DataTypes::AddressType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Merchant::DataTypes::AddressType
- Defined in:
- lib/paypal-sdk/merchant/data_types.rb
Overview
Person’s name associated with this address. Character length and limitations: 32 single-byte alphanumeric characters
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 704 def self.load_members # Person's name associated with this address. Character length and limitations: 32 single-byte alphanumeric characters object_of :Name, String, :namespace => :ebl # First street address. Character length and limitations: 300 single-byte alphanumeric characters object_of :Street1, String, :namespace => :ebl # Second street address. Character length and limitations: 300 single-byte alphanumeric characters object_of :Street2, String, :namespace => :ebl # Name of city. Character length and limitations: 120 single-byte alphanumeric characters object_of :CityName, String, :namespace => :ebl # State or province. Character length and limitations: 120 single-byte alphanumeric characters For Canada and the USA, StateOrProvince must be the standard 2-character abbreviation of a state or province. Canadian Provinces Alberta AB British_Columbia BC Manitoba MB New_Brunswick NB Newfoundland NF Northwest_Territories NT Nova_Scotia NS Nunavut NU Ontario ON Prince_Edward_Island PE Quebec QC Saskatchewan SK Yukon YK United States Alabama AL Alaska AK American_Samoa AS Arizona AZ Arkansas AR California CA Colorado CO Connecticut CT Delaware DE District_Of_Columbia DC Federated_States_Of_Micronesia FM Florida FL Georgia GA Guam GU Hawaii HI Idaho ID Illinois IL Indiana IN Iowa IA Kansas KS Kentucky KY Louisiana LA Maine ME Marshall_Islands MH Maryland MD Massachusetts MA Michigan MI Minnesota MN Mississippi MS Missouri MO Montana MT Nebraska NE Nevada NV New_Hampshire NH New_Jersey NJ New_Mexico NM New_York NY North_Carolina NC North_Dakota ND Northern_Mariana_Islands MP Ohio OH Oklahoma OK Oregon OR Palau PW Pennsylvania PA Puerto_Rico PR Rhode_Island RI South_Carolina SC South_Dakota SD Tennessee TN Texas TX Utah UT Vermont VT Virgin_Islands VI Virginia VA Washington WA West_Virginia WV Wisconsin WI Wyoming WY Armed_Forces_Americas AA Armed_Forces AE Armed_Forces_Pacific AP object_of :StateOrProvince, String, :namespace => :ebl # ISO 3166 standard country code Character limit: Two single-byte characters. object_of :Country, CountryCodeType, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. This element should only be used in response elements and typically should not be used in creating request messages which specify the name of a country using the Country element (which refers to a 2-letter country code). object_of :CountryName, String, :namespace => :ebl # Telephone number associated with this address object_of :Phone, String, :namespace => :ebl object_of :PostalCode, String, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile, or UpdateRecurringPaymentsProfile. object_of :AddressID, String, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. object_of :AddressOwner, AddressOwnerCodeType, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. object_of :ExternalAddressID, String, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. Only applicable to SellerPaymentAddress today. Seller's international name that is associated with the payment address. object_of :InternationalName, String, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. Only applicable to SellerPaymentAddress today. International state and city for the seller's payment address. object_of :InternationalStateAndCity, String, :namespace => :ebl # IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. Only applicable to SellerPaymentAddress today. Seller's international street address that is associated with the payment address. object_of :InternationalStreet, String, :namespace => :ebl # Status of the address on file with PayPal. IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile. object_of :AddressStatus, AddressStatusCodeType, :namespace => :ebl # Returns Normalization Status of the Address. Possible values are Normalized, Unnormalized, and None. object_of :AddressNormalizationStatus, AddressNormalizationStatusCodeType, :namespace => :ebl end |