Class: Stripe::V2::Billing::ContractUpdateParams::PricingLineAction::Add::Pricing

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_update_params.rb

Defined Under Namespace

Classes: PriceDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(price_details: nil, type: nil) ⇒ Pricing

Returns a new instance of Pricing.



98
99
100
101
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 98

def initialize(price_details: nil, type: nil)
  @price_details = price_details
  @type = type
end

Instance Attribute Details

#price_detailsObject

V1 price details. Required if ‘type` is `price`.



94
95
96
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 94

def price_details
  @price_details
end

#typeObject

The type of pricing.



96
97
98
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 96

def type
  @type
end