Class: Stripe::V2::Billing::LicenseFeeService::CreateParams::TransformQuantity
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::LicenseFeeService::CreateParams::TransformQuantity
- Defined in:
- lib/stripe/services/v2/billing/license_fee_service.rb
Instance Attribute Summary collapse
-
#divide_by ⇒ Object
Divide usage by this number.
-
#round ⇒ Object
After division, round the result up or down.
Instance Method Summary collapse
-
#initialize(divide_by: nil, round: nil) ⇒ TransformQuantity
constructor
A new instance of TransformQuantity.
Methods inherited from RequestParams
Constructor Details
#initialize(divide_by: nil, round: nil) ⇒ TransformQuantity
Returns a new instance of TransformQuantity.
58 59 60 61 |
# File 'lib/stripe/services/v2/billing/license_fee_service.rb', line 58 def initialize(divide_by: nil, round: nil) @divide_by = divide_by @round = round end |
Instance Attribute Details
#divide_by ⇒ Object
Divide usage by this number.
54 55 56 |
# File 'lib/stripe/services/v2/billing/license_fee_service.rb', line 54 def divide_by @divide_by end |
#round ⇒ Object
After division, round the result up or down.
56 57 58 |
# File 'lib/stripe/services/v2/billing/license_fee_service.rb', line 56 def round @round end |