Class: Stripe::Checkout::Session::AfterExpiration::Recovery
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Checkout::Session::AfterExpiration::Recovery
- Defined in:
- lib/stripe/resources/checkout/session.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#allow_promotion_codes ⇒ Object
readonly
Enables user redeemable promotion codes on the recovered Checkout Sessions.
-
#enabled ⇒ Object
readonly
If ‘true`, a recovery url will be generated to recover this Checkout Session if it expires before a transaction is completed.
-
#expires_at ⇒ Object
readonly
The timestamp at which the recovery URL will expire.
-
#url ⇒ Object
readonly
URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#allow_promotion_codes ⇒ Object (readonly)
Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to ‘false`
38 39 40 |
# File 'lib/stripe/resources/checkout/session.rb', line 38 def allow_promotion_codes @allow_promotion_codes end |
#enabled ⇒ Object (readonly)
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.
42 43 44 |
# File 'lib/stripe/resources/checkout/session.rb', line 42 def enabled @enabled end |
#expires_at ⇒ Object (readonly)
The timestamp at which the recovery URL will expire.
44 45 46 |
# File 'lib/stripe/resources/checkout/session.rb', line 44 def expires_at @expires_at end |
#url ⇒ Object (readonly)
URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session
46 47 48 |
# File 'lib/stripe/resources/checkout/session.rb', line 46 def url @url end |