Class: Stripe::V2::Billing::IntentCreateParams::Action::Remove

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil, invoice_discount_rule: nil) ⇒ Remove

Returns a new instance of Remove.



192
193
194
195
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 192

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

Instance Attribute Details

#invoice_discount_ruleObject

The ID of the discount rule to remove for future invoices.



190
191
192
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 190

def invoice_discount_rule
  @invoice_discount_rule
end

#typeObject

Type of the remove action.



188
189
190
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 188

def type
  @type
end