Class: Stripe::TestHelpers::ConfirmationTokenCreateParams::PaymentMethodData::Boleto

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(tax_id: nil) ⇒ Boleto

Returns a new instance of Boleto.



114
115
116
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 114

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)



112
113
114
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 112

def tax_id
  @tax_id
end