Class: Stripe::TokenCreateParams::Person::AddressKanji
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenCreateParams::Person::AddressKanji
- Defined in:
- lib/stripe/params/token_create_params.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
City or ward.
-
#country ⇒ Object
Two-letter country code (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) ⇒ AddressKanji
constructor
A new instance of AddressKanji.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil) ⇒ AddressKanji
Returns a new instance of AddressKanji.
906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/stripe/params/token_create_params.rb', line 906 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.
892 893 894 |
# File 'lib/stripe/params/token_create_params.rb', line 892 def city @city end |
#country ⇒ Object
Two-letter country code (ISO 3166-1 alpha-2).
894 895 896 |
# File 'lib/stripe/params/token_create_params.rb', line 894 def country @country end |
#line1 ⇒ Object
Block or building number.
896 897 898 |
# File 'lib/stripe/params/token_create_params.rb', line 896 def line1 @line1 end |
#line2 ⇒ Object
Building details.
898 899 900 |
# File 'lib/stripe/params/token_create_params.rb', line 898 def line2 @line2 end |
#postal_code ⇒ Object
Postal code.
900 901 902 |
# File 'lib/stripe/params/token_create_params.rb', line 900 def postal_code @postal_code end |
#state ⇒ Object
Prefecture.
902 903 904 |
# File 'lib/stripe/params/token_create_params.rb', line 902 def state @state end |
#town ⇒ Object
Town or cho-me.
904 905 906 |
# File 'lib/stripe/params/token_create_params.rb', line 904 def town @town end |