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.
-
#metadata ⇒ Object
Metadata 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, metadata: 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, metadata: nil, multiply_pricing: nil, overwrite_price: nil, priority: nil, starts_at: nil, type: nil) ⇒ Add
Returns a new instance of Add.
644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 644 def initialize( ends_at: nil, lookup_key: nil, metadata: nil, multiply_pricing: nil, overwrite_price: nil, priority: nil, starts_at: nil, type: nil ) @ends_at = ends_at @lookup_key = lookup_key @metadata = @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.
628 629 630 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 628 def ends_at @ends_at end |
#lookup_key ⇒ Object
A lookup key for the pricing override.
630 631 632 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 630 def lookup_key @lookup_key end |
#metadata ⇒ Object
Metadata for the pricing override.
632 633 634 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 632 def @metadata end |
#multiply_pricing ⇒ Object
A multiply_pricing override to add.
634 635 636 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 634 def multiply_pricing @multiply_pricing end |
#overwrite_price ⇒ Object
An overwrite price override to add.
636 637 638 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 636 def overwrite_price @overwrite_price end |
#priority ⇒ Object
The priority for the pricing override. The highest priority is 0 and the lowest is 100.
638 639 640 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 638 def priority @priority end |
#starts_at ⇒ Object
The start time for the pricing override.
640 641 642 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 640 def starts_at @starts_at end |
#type ⇒ Object
The type of pricing override to add.
642 643 644 |
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 642 def type @type end |