Class: Stripe::Treasury::ReceivedCredit::InitiatingPaymentMethodDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Treasury::ReceivedCredit::InitiatingPaymentMethodDetails
- 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
-
#balance ⇒ Object
readonly
Set when ‘type` is `balance`.
-
#billing_details ⇒ Object
readonly
Attribute for field billing_details.
-
#financial_account ⇒ Object
readonly
Attribute for field financial_account.
-
#issuing_card ⇒ Object
readonly
Set when ‘type` is `issuing_card`.
-
#type ⇒ Object
readonly
Polymorphic type matching the originating money movement’s source.
-
#us_bank_account ⇒ Object
readonly
Attribute for field us_bank_account.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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
#balance ⇒ Object (readonly)
Set when ‘type` is `balance`.
87 88 89 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 87 def balance @balance end |
#billing_details ⇒ Object (readonly)
Attribute for field billing_details
89 90 91 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 89 def billing_details @billing_details end |
#financial_account ⇒ Object (readonly)
Attribute for field financial_account
91 92 93 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 91 def financial_account @financial_account end |
#issuing_card ⇒ Object (readonly)
Set when ‘type` is `issuing_card`. This is an [Issuing Card](stripe.com/docs/api#issuing_cards) ID.
93 94 95 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 93 def issuing_card @issuing_card end |
#type ⇒ Object (readonly)
Polymorphic type matching the originating money movement’s source. This can be an external account, a Stripe balance, or a FinancialAccount.
95 96 97 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 95 def type @type end |
#us_bank_account ⇒ Object (readonly)
Attribute for field us_bank_account
97 98 99 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 97 def us_bank_account @us_bank_account end |
Class Method Details
.field_remappings ⇒ Object
107 108 109 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 107 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 99 def self.inner_class_types @inner_class_types = { billing_details: BillingDetails, financial_account: FinancialAccount, us_bank_account: UsBankAccount, } end |