Class: Stripe::AccountPersonService::CreateParams::AddressKana
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountPersonService::CreateParams::AddressKana
- Defined in:
- lib/stripe/services/account_person_service.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
City or ward.
-
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
-
#line1 ⇒ Object
Block or building number.
-
#line2 ⇒ Object
Building details.
-
#postal_code ⇒ Object
Postal code.
-
#state ⇒ Object
Prefecture.
-
#town ⇒ Object
Town or cho-me.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil) ⇒ AddressKana
constructor
A new instance of AddressKana.
Methods inherited from RequestParams
Constructor Details
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil) ⇒ AddressKana
Returns a new instance of AddressKana.
590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/stripe/services/account_person_service.rb', line 590 def initialize( city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil ) @city = city @country = country @line1 = line1 @line2 = line2 @postal_code = postal_code @state = state @town = town end |
Instance Attribute Details
#city ⇒ Object
City or ward.
576 577 578 |
# File 'lib/stripe/services/account_person_service.rb', line 576 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
578 579 580 |
# File 'lib/stripe/services/account_person_service.rb', line 578 def country @country end |
#line1 ⇒ Object
Block or building number.
580 581 582 |
# File 'lib/stripe/services/account_person_service.rb', line 580 def line1 @line1 end |
#line2 ⇒ Object
Building details.
582 583 584 |
# File 'lib/stripe/services/account_person_service.rb', line 582 def line2 @line2 end |
#postal_code ⇒ Object
Postal code.
584 585 586 |
# File 'lib/stripe/services/account_person_service.rb', line 584 def postal_code @postal_code end |
#state ⇒ Object
Prefecture.
586 587 588 |
# File 'lib/stripe/services/account_person_service.rb', line 586 def state @state end |
#town ⇒ Object
Town or cho-me.
588 589 590 |
# File 'lib/stripe/services/account_person_service.rb', line 588 def town @town end |