Class: Telnyx::Models::PaymentCreateStoredPaymentTransactionResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/payment_create_stored_payment_transaction_response.rb

Overview

See Also:

Defined Under Namespace

Modules: RecordType, TransactionProcessingType

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id: nil, amount_cents: nil, amount_currency: nil, auto_recharge: nil, created_at: nil, processor_status: nil, record_type: nil, transaction_processing_type: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 59

Instance Attribute Details

#amount_centsInteger?

Returns:

  • (Integer, nil)


25
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 25

optional :amount_cents, Integer

#amount_currencyString?

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 30

optional :amount_currency, String

#auto_rechargeBoolean?

Returns:

  • (Boolean, nil)


35
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 35

optional :auto_recharge, Telnyx::Internal::Type::Boolean

#created_atTime?

Returns:

  • (Time, nil)


40
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 40

optional :created_at, Time

#idString?

Returns:

  • (String, nil)


20
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 20

optional :id, String

#processor_statusString?

Returns:

  • (String, nil)


45
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 45

optional :processor_status, String

#record_typeSymbol, ...



50
51
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 50

optional :record_type,
enum: -> { Telnyx::Models::PaymentCreateStoredPaymentTransactionResponse::Data::RecordType }

#transaction_processing_typeSymbol, ...



56
57
# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 56

optional :transaction_processing_type,
enum: -> { Telnyx::Models::PaymentCreateStoredPaymentTransactionResponse::Data::TransactionProcessingType }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/payment_create_stored_payment_transaction_response.rb', line 75