Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Classes: EndsAt, Pricing, StartsAt
Instance Attribute Summary collapse
-
#ends_at ⇒ Object
The end time for the pricing line.
-
#lookup_key ⇒ Object
A lookup key for the pricing line.
-
#metadata ⇒ Object
Metadata for the pricing line.
-
#pricing ⇒ Object
The pricing configuration for the pricing line.
-
#starts_at ⇒ Object
The start time for the pricing line.
Instance Method Summary collapse
-
#initialize(ends_at: nil, lookup_key: nil, metadata: nil, pricing: nil, starts_at: nil) ⇒ Add
constructor
A new instance of Add.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(ends_at: nil, lookup_key: nil, metadata: nil, pricing: nil, starts_at: nil) ⇒ Add
Returns a new instance of Add.
126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 126 def initialize( ends_at: nil, lookup_key: nil, metadata: nil, pricing: nil, starts_at: nil ) @ends_at = ends_at @lookup_key = lookup_key @metadata = @pricing = pricing @starts_at = starts_at end |
Instance Attribute Details
#ends_at ⇒ Object
The end time for the pricing line.
116 117 118 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 116 def ends_at @ends_at end |
#lookup_key ⇒ Object
A lookup key for the pricing line.
118 119 120 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 118 def lookup_key @lookup_key end |
#metadata ⇒ Object
Metadata for the pricing line.
120 121 122 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 120 def @metadata end |
#pricing ⇒ Object
The pricing configuration for the pricing line.
122 123 124 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 122 def pricing @pricing end |
#starts_at ⇒ Object
The start time for the pricing line.
124 125 126 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 124 def starts_at @starts_at end |