Class: Stripe::PaymentMethod::CreateParams::Boleto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_id: nil) ⇒ Boleto

Returns a new instance of Boleto.



792
793
794
# File 'lib/stripe/resources/payment_method.rb', line 792

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)



790
791
792
# File 'lib/stripe/resources/payment_method.rb', line 790

def tax_id
  @tax_id
end