Class: Stripe::Checkout::Session::Consent
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Checkout::Session::Consent
- Defined in:
- lib/stripe/resources/checkout/session.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#promotions ⇒ Object
readonly
If ‘opt_in`, the customer consents to receiving promotional communications from the merchant about this Checkout Session.
-
#terms_of_service ⇒ Object
readonly
If ‘accepted`, the customer in this Checkout Session has agreed to the merchant’s terms of service.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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
#promotions ⇒ Object (readonly)
If ‘opt_in`, the customer consents to receiving promotional communications from the merchant about this Checkout Session.
223 224 225 |
# File 'lib/stripe/resources/checkout/session.rb', line 223 def promotions @promotions end |
#terms_of_service ⇒ Object (readonly)
If ‘accepted`, the customer in this Checkout Session has agreed to the merchant’s terms of service.
225 226 227 |
# File 'lib/stripe/resources/checkout/session.rb', line 225 def terms_of_service @terms_of_service end |
Class Method Details
.field_remappings ⇒ Object
231 232 233 |
# File 'lib/stripe/resources/checkout/session.rb', line 231 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
227 228 229 |
# File 'lib/stripe/resources/checkout/session.rb', line 227 def self.inner_class_types @inner_class_types = {} end |