Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument::Card

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/accounts/consent_withdraw_response.rb,
sig/method_ruby/models/accounts/consent_withdraw_response.rbs

Overview

See Also:

  • MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::PaymentInstrument::AccountPaymentInstrument#card

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

#initialize ⇒ Object



1730
# File 'sig/method_ruby/models/accounts/consent_withdraw_response.rbs', line 1730

def initialize: (

Instance Attribute Details

#billing_zip_code ⇒ String?

Billing zip code.

Parameters:

  • (String)

Returns:

  • (String, nil)


2166
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2166

optional :billing_zip_code, String

#exp_month ⇒ String?

Card expiration month.

Parameters:

  • (String)

Returns:

  • (String, nil)


2172
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2172

optional :exp_month, String

#exp_year ⇒ String?

Card expiration year.

Parameters:

  • (String)

Returns:

  • (String, nil)


2178
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2178

optional :exp_year, String

#number ⇒ String?

The card number.

Parameters:

  • (String)

Returns:

  • (String, nil)


2184
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2184

optional :number, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1737
# File 'sig/method_ruby/models/accounts/consent_withdraw_response.rbs', line 1737

def to_hash: -> {