Class: Increase::Models::CardValidationCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/card_validation_create_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(account_id: , card_token_id: , merchant_category_code: , merchant_city_name: , merchant_name: , merchant_postal_code: , merchant_state: , cardholder_first_name: nil, cardholder_last_name: nil, cardholder_middle_name: nil, cardholder_postal_code: nil, cardholder_street_address: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardValidationCreateParams for more details.

Parameters:

  • account_id (String) (defaults to: )

    The identifier of the Account from which to send the validation.

  • card_token_id (String) (defaults to: )

    The Increase identifier for the Card Token that represents the card number you’r

  • merchant_category_code (String) (defaults to: )

    A four-digit code (MCC) identifying the type of business or service provided by

  • merchant_city_name (String) (defaults to: )

    The city where the merchant (typically your business) is located.

  • merchant_name (String) (defaults to: )

    The merchant name that will appear in the cardholder’s statement descriptor. Typ

  • merchant_postal_code (String) (defaults to: )

    The postal code for the merchant’s (typically your business’s) location.

  • merchant_state (String) (defaults to: )

    The U.S. state where the merchant (typically your business) is located.

  • cardholder_first_name (String) (defaults to: nil)

    The cardholder’s first name.

  • cardholder_last_name (String) (defaults to: nil)

    The cardholder’s last name.

  • cardholder_middle_name (String) (defaults to: nil)

    The cardholder’s middle name.

  • cardholder_postal_code (String) (defaults to: nil)

    The postal code of the cardholder’s address.

  • cardholder_street_address (String) (defaults to: nil)

    The cardholder’s street address.

  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/increase/models/card_validation_create_params.rb', line 85


Instance Attribute Details

#account_idString

The identifier of the Account from which to send the validation.

Returns:

  • (String)


14
# File 'lib/increase/models/card_validation_create_params.rb', line 14

required :account_id, String

#card_token_idString

The Increase identifier for the Card Token that represents the card number you’re validating.

Returns:

  • (String)


21
# File 'lib/increase/models/card_validation_create_params.rb', line 21

required :card_token_id, String

#cardholder_first_nameString?

The cardholder’s first name.

Returns:

  • (String, nil)


59
# File 'lib/increase/models/card_validation_create_params.rb', line 59

optional :cardholder_first_name, String

#cardholder_last_nameString?

The cardholder’s last name.

Returns:

  • (String, nil)


65
# File 'lib/increase/models/card_validation_create_params.rb', line 65

optional :cardholder_last_name, String

#cardholder_middle_nameString?

The cardholder’s middle name.

Returns:

  • (String, nil)


71
# File 'lib/increase/models/card_validation_create_params.rb', line 71

optional :cardholder_middle_name, String

#cardholder_postal_codeString?

The postal code of the cardholder’s address.

Returns:

  • (String, nil)


77
# File 'lib/increase/models/card_validation_create_params.rb', line 77

optional :cardholder_postal_code, String

#cardholder_street_addressString?

The cardholder’s street address.

Returns:

  • (String, nil)


83
# File 'lib/increase/models/card_validation_create_params.rb', line 83

optional :cardholder_street_address, String

#merchant_category_codeString

A four-digit code (MCC) identifying the type of business or service provided by the merchant.

Returns:

  • (String)


28
# File 'lib/increase/models/card_validation_create_params.rb', line 28

required :merchant_category_code, String

#merchant_city_nameString

The city where the merchant (typically your business) is located.

Returns:

  • (String)


34
# File 'lib/increase/models/card_validation_create_params.rb', line 34

required :merchant_city_name, String

#merchant_nameString

The merchant name that will appear in the cardholder’s statement descriptor. Typically your business name.

Returns:

  • (String)


41
# File 'lib/increase/models/card_validation_create_params.rb', line 41

required :merchant_name, String

#merchant_postal_codeString

The postal code for the merchant’s (typically your business’s) location.

Returns:

  • (String)


47
# File 'lib/increase/models/card_validation_create_params.rb', line 47

required :merchant_postal_code, String

#merchant_stateString

The U.S. state where the merchant (typically your business) is located.

Returns:

  • (String)


53
# File 'lib/increase/models/card_validation_create_params.rb', line 53

required :merchant_state, String