Class: Telnyx::Models::X402::CreditAccountCreateQuoteResponse::Data::PaymentRequirements::Resource

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/telnyx/models/x402/credit_account_create_quote_response.rb,
sig/telnyx/models/x402/credit_account_create_quote_response.rbs

Overview

See Also:

  • Telnyx::Models::X402::CreditAccountCreateQuoteResponse::Data::PaymentRequirements#resource

Instance Attribute 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

#initializeObject



243
# File 'sig/telnyx/models/x402/credit_account_create_quote_response.rbs', line 243

def initialize: (

Instance Attribute Details

#descriptionString?

Human-readable description of the payment.

Parameters:

  • (String)

Returns:

  • (String, nil)


224
# File 'lib/telnyx/models/x402/credit_account_create_quote_response.rb', line 224

optional :description, String

#mime_typeString?

MIME type of the resource.

Parameters:

  • (String)

Returns:

  • (String, nil)


230
# File 'lib/telnyx/models/x402/credit_account_create_quote_response.rb', line 230

optional :mime_type, String, api_name: :mimeType

#urlString?

Canonical URL of the payment resource.

Parameters:

  • (String)

Returns:

  • (String, nil)


236
# File 'lib/telnyx/models/x402/credit_account_create_quote_response.rb', line 236

optional :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


249
# File 'sig/telnyx/models/x402/credit_account_create_quote_response.rbs', line 249

def to_hash: -> {