Class: Stripe::V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount::CustomPricingUnit

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(id: nil, value: nil) ⇒ CustomPricingUnit

Returns a new instance of CustomPricingUnit.



101
102
103
104
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 101

def initialize(id: nil, value: nil)
  @id = id
  @value = value
end

Instance Attribute Details

#idObject

The id of the custom pricing unit.



97
98
99
# File 'lib/stripe/params/v2/billing/service_action_create_params.rb', line 97

def id
  @id
end

#valueObject

The value of the credit grant, decimal value represented as a string.



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

def value
  @value
end