Class: Stripe::TestHelpers::Issuing::AuthorizationService::CreateParams::AmountDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/issuing/authorization_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(atm_fee: nil, cashback_amount: nil) ⇒ AmountDetails

Returns a new instance of AmountDetails.



15
16
17
18
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 15

def initialize(atm_fee: nil, cashback_amount: nil)
  @atm_fee = atm_fee
  @cashback_amount = cashback_amount
end

Instance Attribute Details

#atm_feeObject

The ATM withdrawal fee.



11
12
13
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 11

def atm_fee
  @atm_fee
end

#cashback_amountObject

The amount of cash requested by the cardholder.



13
14
15
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 13

def cashback_amount
  @cashback_amount
end