Class: Stripe::V2::Tax::ManualRuleCreateParams::Product
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Tax::ManualRuleCreateParams::Product
- Defined in:
- lib/stripe/params/v2/tax/manual_rule_create_params.rb
Instance Attribute Summary collapse
-
#licensed_item ⇒ Object
The licensed item identifier.
-
#metered_item ⇒ Object
The metered item identifier.
-
#tax_code ⇒ Object
The tax code for the product.
-
#type ⇒ Object
The type of the product.
Instance Method Summary collapse
-
#initialize(type: nil, licensed_item: nil, metered_item: nil, tax_code: nil) ⇒ Product
constructor
A new instance of Product.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(type: nil, licensed_item: nil, metered_item: nil, tax_code: nil) ⇒ Product
Returns a new instance of Product.
30 31 32 33 34 35 |
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 30 def initialize(type: nil, licensed_item: nil, metered_item: nil, tax_code: nil) @type = type @licensed_item = licensed_item @metered_item = metered_item @tax_code = tax_code end |
Instance Attribute Details
#licensed_item ⇒ Object
The licensed item identifier.
24 25 26 |
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 24 def licensed_item @licensed_item end |
#metered_item ⇒ Object
The metered item identifier.
26 27 28 |
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 26 def metered_item @metered_item end |
#tax_code ⇒ Object
The tax code for the product.
28 29 30 |
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 28 def tax_code @tax_code end |
#type ⇒ Object
The type of the product.
22 23 24 |
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 22 def type @type end |