Class: Afterpay::Components::Contact
- Defined in:
- lib/afterpay/components/contact.rb
Instance Attribute Summary collapse
-
#area1 ⇒ String
City or suburb.
-
#area2 ⇒ String
Suburb or village or local area.
-
#country_code ⇒ String
The two-character ISO 3166-1 country code.
-
#line1 ⇒ String
Street address.
-
#line2 ⇒ String
Second line of the address.
-
#name ⇒ String
Full name of contact.
-
#phone_number ⇒ String
The phone number, in E.123 format.
-
#postcode ⇒ String
The postal code, which is the zip code or equivalent.
-
#region ⇒ String
Region or state name.
Method Summary
Methods included from Initializable
Methods included from Representable
Instance Attribute Details
#area1 ⇒ String
City or suburb. Maximum length is 128 characters.
24 25 26 |
# File 'lib/afterpay/components/contact.rb', line 24 def area1 @area1 end |
#area2 ⇒ String
Suburb or village or local area. Maximum length is 128 characters.
29 30 31 |
# File 'lib/afterpay/components/contact.rb', line 29 def area2 @area2 end |
#country_code ⇒ String
The two-character ISO 3166-1 country code.
44 45 46 |
# File 'lib/afterpay/components/contact.rb', line 44 def country_code @country_code end |
#line1 ⇒ String
Street address. Maximum length is 128 characters.
14 15 16 |
# File 'lib/afterpay/components/contact.rb', line 14 def line1 @line1 end |
#line2 ⇒ String
Second line of the address. Maximum length is 128 characters.
19 20 21 |
# File 'lib/afterpay/components/contact.rb', line 19 def line2 @line2 end |
#name ⇒ String
Full name of contact. Maximum length is 255 characters.
9 10 11 |
# File 'lib/afterpay/components/contact.rb', line 9 def name @name end |
#phone_number ⇒ String
The phone number, in E.123 format. Maximum length is 32 characters.
49 50 51 |
# File 'lib/afterpay/components/contact.rb', line 49 def phone_number @phone_number end |
#postcode ⇒ String
The postal code, which is the zip code or equivalent. Maximum length is 128 characters.
39 40 41 |
# File 'lib/afterpay/components/contact.rb', line 39 def postcode @postcode end |
#region ⇒ String
Region or state name. Maximum length is 128 characters.
34 35 36 |
# File 'lib/afterpay/components/contact.rb', line 34 def region @region end |