Class: Sentdm::Models::ProfileCreateParams::PaymentDetails

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_create_params.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Sentdm::Internal::Type::BaseModel

Instance Attribute Details

#card_numberString

Card number (digits only, 13–19 characters)

Returns:

  • (String)


557
# File 'lib/sentdm/models/profile_create_params.rb', line 557

required :card_number, String

#cvcString

Card security code (3–4 digits)

Returns:

  • (String)


563
# File 'lib/sentdm/models/profile_create_params.rb', line 563

required :cvc, String

#expiryString

Card expiry date in MM/YY format (e.g. “09/27”)

Returns:

  • (String)


569
# File 'lib/sentdm/models/profile_create_params.rb', line 569

required :expiry, String

#zip_codeString

Billing ZIP / postal code associated with the card

Returns:

  • (String)


575
# File 'lib/sentdm/models/profile_create_params.rb', line 575

required :zip_code, String