Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::Boleto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(tax_id: nil) ⇒ Boleto

Returns a new instance of Boleto.



392
393
394
# File 'lib/stripe/params/payment_intent_create_params.rb', line 392

def initialize(tax_id: nil)
  @tax_id = tax_id
end

Instance Attribute Details

#tax_idObject

The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)



390
391
392
# File 'lib/stripe/params/payment_intent_create_params.rb', line 390

def tax_id
  @tax_id
end