Class: Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction::Add
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction::Add
- Defined in:
- lib/stripe/params/v2/billing/contract_update_params.rb
Defined Under Namespace
Classes: EndsAt, MultiplyPricing, OverwritePrice, StartsAt
Instance Attribute Summary collapse
-
#ends_at ⇒ Object
The end time for the pricing override.
-
#lookup_key ⇒ Object
A lookup key for the pricing override.
-
#multiply_pricing ⇒ Object
A multiply_pricing override to add.
-
#overwrite_price ⇒ Object
An overwrite price override to add.
-
#priority ⇒ Object
The priority for the pricing override.
-
#starts_at ⇒ Object
The start time for the pricing override.
-
#type ⇒ Object
The type of pricing override to add.
Instance Method Summary collapse
-
#initialize(ends_at: nil, lookup_key: nil, multiply_pricing: nil, overwrite_price: nil, priority: nil, starts_at: nil, type: 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, multiply_pricing: nil, overwrite_price: nil, priority: nil, starts_at: nil, type: nil) ⇒ Add
Returns a new instance of Add.
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 639 def initialize( ends_at: nil, lookup_key: nil, multiply_pricing: nil, overwrite_price: nil, priority: nil, starts_at: nil, type: nil ) @ends_at = ends_at @lookup_key = lookup_key @multiply_pricing = multiply_pricing @overwrite_price = overwrite_price @priority = priority @starts_at = starts_at @type = type end |
Instance Attribute Details
#ends_at ⇒ Object
The end time for the pricing override.
625 626 627 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 625 def ends_at @ends_at end |
#lookup_key ⇒ Object
A lookup key for the pricing override.
627 628 629 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 627 def lookup_key @lookup_key end |
#multiply_pricing ⇒ Object
A multiply_pricing override to add.
629 630 631 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 629 def multiply_pricing @multiply_pricing end |
#overwrite_price ⇒ Object
An overwrite price override to add.
631 632 633 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 631 def overwrite_price @overwrite_price end |
#priority ⇒ Object
The priority for the pricing override. The highest priority is 0 and the lowest is 100.
633 634 635 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 633 def priority @priority end |
#starts_at ⇒ Object
The start time for the pricing override.
635 636 637 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 635 def starts_at @starts_at end |
#type ⇒ Object
The type of pricing override to add.
637 638 639 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 637 def type @type end |