class

Stripe::PaymentPagesCheckoutSessionAfterExpirationRecovery

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

Constants

MAX_LENGTH_FOR_URL = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, allow_promotion_codes : Bool | Nil = nil, enabled : Bool | Nil = nil, expires_at : Int64 | Nil = nil, url : 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

allow_promotion_codes

Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to false

Source
allow_promotion_codes=(new_value : Bool | Nil)

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

Source
enabled

If true, a recovery url will be generated to recover this Checkout Session if it expires before a transaction is completed. It will be attached to the Checkout Session object upon expiration.

Source
enabled=(new_value : Bool | Nil)

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

Source
expires_at

The timestamp at which the recovery URL will expire.

Source
expires_at=(new_value : Int64 | Nil)

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

URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session

Source
url=(new_value : String | Nil)

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