Class: Stigg::Models::V1::CustomerResponse::Data::DefaultPaymentMethod
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::CustomerResponse::Data::DefaultPaymentMethod
- Defined in:
- lib/stigg/models/v1/customer_response.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#billing_id ⇒ String?
The default payment method id.
-
#card_expiry_month ⇒ Float?
The expiration month of the default payment method.
-
#card_expiry_year ⇒ Float?
The expiration year of the default payment method.
-
#card_last4_digits ⇒ String?
The last 4 digits of the default payment method.
-
#type ⇒ Symbol, Stigg::Models::V1::CustomerResponse::Data::DefaultPaymentMethod::Type
The default payment method type.
Instance Method Summary collapse
-
#initialize(billing_id:, card_expiry_month:, card_expiry_year:, card_last4_digits:, type:) ⇒ Object
constructor
The default payment method details.
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(billing_id:, card_expiry_month:, card_expiry_year:, card_last4_digits:, type:) ⇒ Object
The default payment method details
|
|
# File 'lib/stigg/models/v1/customer_response.rb', line 338
|
Instance Attribute Details
#billing_id ⇒ String?
The default payment method id
312 |
# File 'lib/stigg/models/v1/customer_response.rb', line 312 required :billing_id, String, api_name: :billingId, nil?: true |
#card_expiry_month ⇒ Float?
The expiration month of the default payment method
318 |
# File 'lib/stigg/models/v1/customer_response.rb', line 318 required :card_expiry_month, Float, api_name: :cardExpiryMonth, nil?: true |
#card_expiry_year ⇒ Float?
The expiration year of the default payment method
324 |
# File 'lib/stigg/models/v1/customer_response.rb', line 324 required :card_expiry_year, Float, api_name: :cardExpiryYear, nil?: true |
#card_last4_digits ⇒ String?
The last 4 digits of the default payment method
330 |
# File 'lib/stigg/models/v1/customer_response.rb', line 330 required :card_last4_digits, String, api_name: :cardLast4Digits, nil?: true |
#type ⇒ Symbol, Stigg::Models::V1::CustomerResponse::Data::DefaultPaymentMethod::Type
The default payment method type
336 |
# File 'lib/stigg/models/v1/customer_response.rb', line 336 required :type, enum: -> { Stigg::V1::CustomerResponse::Data::DefaultPaymentMethod::Type } |