Class: Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::CheckScan::CheckDepositAddress
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::CheckScan::CheckDepositAddress
- Defined in:
- lib/stripe/params/subscription_create_params.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Attribute for param field city.
-
#country ⇒ Object
Attribute for param field country.
-
#line1 ⇒ Object
Attribute for param field line1.
-
#line2 ⇒ Object
Attribute for param field line2.
-
#postal_code ⇒ Object
Attribute for param field postal_code.
-
#state ⇒ Object
Attribute for param field state.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ CheckDepositAddress
constructor
A new instance of CheckDepositAddress.
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) ⇒ CheckDepositAddress
Returns a new instance of CheckDepositAddress.
722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/stripe/params/subscription_create_params.rb', line 722 def initialize( city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil ) @city = city @country = country @line1 = line1 @line2 = line2 @postal_code = postal_code @state = state end |
Instance Attribute Details
#city ⇒ Object
Attribute for param field city
710 711 712 |
# File 'lib/stripe/params/subscription_create_params.rb', line 710 def city @city end |
#country ⇒ Object
Attribute for param field country
712 713 714 |
# File 'lib/stripe/params/subscription_create_params.rb', line 712 def country @country end |
#line1 ⇒ Object
Attribute for param field line1
714 715 716 |
# File 'lib/stripe/params/subscription_create_params.rb', line 714 def line1 @line1 end |
#line2 ⇒ Object
Attribute for param field line2
716 717 718 |
# File 'lib/stripe/params/subscription_create_params.rb', line 716 def line2 @line2 end |
#postal_code ⇒ Object
Attribute for param field postal_code
718 719 720 |
# File 'lib/stripe/params/subscription_create_params.rb', line 718 def postal_code @postal_code end |
#state ⇒ Object
Attribute for param field state
720 721 722 |
# File 'lib/stripe/params/subscription_create_params.rb', line 720 def state @state end |