Class: Stripe::Tax::RegistrationUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Tax::RegistrationUpdateParams
- Defined in:
- lib/stripe/params/tax/registration_update_params.rb
Instance Attribute Summary collapse
-
#active_from ⇒ Object
Time at which the registration becomes active.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#expires_at ⇒ Object
If set, the registration stops being active at this time.
Instance Method Summary collapse
-
#initialize(active_from: nil, expand: nil, expires_at: nil) ⇒ RegistrationUpdateParams
constructor
A new instance of RegistrationUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(active_from: nil, expand: nil, expires_at: nil) ⇒ RegistrationUpdateParams
Returns a new instance of RegistrationUpdateParams.
14 15 16 17 18 |
# File 'lib/stripe/params/tax/registration_update_params.rb', line 14 def initialize(active_from: nil, expand: nil, expires_at: nil) @active_from = active_from = @expires_at = expires_at end |
Instance Attribute Details
#active_from ⇒ Object
Time at which the registration becomes active. It can be either ‘now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
8 9 10 |
# File 'lib/stripe/params/tax/registration_update_params.rb', line 8 def active_from @active_from end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
10 11 12 |
# File 'lib/stripe/params/tax/registration_update_params.rb', line 10 def end |
#expires_at ⇒ Object
If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either ‘now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
12 13 14 |
# File 'lib/stripe/params/tax/registration_update_params.rb', line 12 def expires_at @expires_at end |