class

Stripe::DisputePaymentMethodDetailsCard

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_CASE_TYPE = "invalid value for \"case_type\", must be one of [chargeback, inquiry]."
MAX_LENGTH_FOR_BRAND = 5000
MAX_LENGTH_FOR_NETWORK_REASON_CODE = 5000
VALID_VALUES_FOR_CASE_TYPE = String.static_array("chargeback", "inquiry")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, brand : String | Nil = nil, case_type : String | Nil = nil, network_reason_code : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

brand

Card brand. Can be amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.

Source
brand=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] brand Object to be assigned

Source
case_type

The type of dispute opened. Different case types may have varying fees and financial impact.

Source
case_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] case_type Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
network_reason_code

The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The Network code map lists all available dispute reason codes by network.

Source
network_reason_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] network_reason_code Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source