Class: Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Payto

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto

Returns a new instance of Payto.



2052
2053
2054
2055
2056
# File 'lib/stripe/resources/confirmation_token.rb', line 2052

def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
  @account_number = 
  @bsb_number = bsb_number
  @pay_id = pay_id
end

Instance Attribute Details

#account_numberObject

The account number for the bank account.



2046
2047
2048
# File 'lib/stripe/resources/confirmation_token.rb', line 2046

def 
  @account_number
end

#bsb_numberObject

Bank-State-Branch number of the bank account.



2048
2049
2050
# File 'lib/stripe/resources/confirmation_token.rb', line 2048

def bsb_number
  @bsb_number
end

#pay_idObject

The PayID alias for the bank account.



2050
2051
2052
# File 'lib/stripe/resources/confirmation_token.rb', line 2050

def pay_id
  @pay_id
end