class

Stripe::InvoicePaymentMethodOptionsCard

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

Constants

ERROR_MESSAGE_FOR_REQUEST_THREE_D_SECURE = "invalid value for \"request_three_d_secure\", must be one of [any, automatic, challenge]."
VALID_VALUES_FOR_REQUEST_THREE_D_SECURE = String.static_array("any", "automatic", "challenge")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, request_three_d_secure : String | Nil = nil, installments : Stripe::InvoiceInstallmentsCard | 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

hash(hasher)

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

installments
Source
installments=(new_value : Stripe::InvoiceInstallmentsCard | Nil)

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

Source
list_invalid_properties

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

Source
request_three_d_secure

We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.

Source
request_three_d_secure=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] request_three_d_secure 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