Class: Stripe::SubscriptionUpdateParams::AddInvoiceItem::Period::Start
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionUpdateParams::AddInvoiceItem::Period::Start
- Defined in:
- lib/stripe/params/subscription_update_params.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
A precise Unix timestamp for the start of the invoice item period.
-
#type ⇒ Object
Select how to calculate the start of the invoice item period.
Instance Method Summary collapse
-
#initialize(timestamp: nil, type: nil) ⇒ Start
constructor
A new instance of Start.
Methods inherited from RequestParams
Constructor Details
#initialize(timestamp: nil, type: nil) ⇒ Start
Returns a new instance of Start.
41 42 43 44 |
# File 'lib/stripe/params/subscription_update_params.rb', line 41 def initialize(timestamp: nil, type: nil) @timestamp = @type = type end |
Instance Attribute Details
#timestamp ⇒ Object
A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to ‘period.end`.
37 38 39 |
# File 'lib/stripe/params/subscription_update_params.rb', line 37 def @timestamp end |
#type ⇒ Object
Select how to calculate the start of the invoice item period.
39 40 41 |
# File 'lib/stripe/params/subscription_update_params.rb', line 39 def type @type end |