Class: Stripe::Treasury::ReceivedCredit::InitiatingPaymentMethodDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/treasury/received_credit.rb

Defined Under Namespace

Classes: BillingDetails, FinancialAccount, UsBankAccount

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#balanceObject (readonly)

Set when ‘type` is `balance`.



55
56
57
# File 'lib/stripe/resources/treasury/received_credit.rb', line 55

def balance
  @balance
end

#billing_detailsObject (readonly)

Attribute for field billing_details



57
58
59
# File 'lib/stripe/resources/treasury/received_credit.rb', line 57

def billing_details
  @billing_details
end

#financial_accountObject (readonly)

Attribute for field financial_account



59
60
61
# File 'lib/stripe/resources/treasury/received_credit.rb', line 59

def 
  @financial_account
end

#issuing_cardObject (readonly)

Set when ‘type` is `issuing_card`. This is an [Issuing Card](stripe.com/docs/api#issuing_cards) ID.



61
62
63
# File 'lib/stripe/resources/treasury/received_credit.rb', line 61

def issuing_card
  @issuing_card
end

#typeObject (readonly)

Polymorphic type matching the originating money movement’s source. This can be an external account, a Stripe balance, or a FinancialAccount.



63
64
65
# File 'lib/stripe/resources/treasury/received_credit.rb', line 63

def type
  @type
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



65
66
67
# File 'lib/stripe/resources/treasury/received_credit.rb', line 65

def 
  @us_bank_account
end