Class: Stripe::Checkout::Session::InvoiceCreation::InvoiceData
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Checkout::Session::InvoiceCreation::InvoiceData
- Defined in:
- lib/stripe/resources/checkout/session.rb
Defined Under Namespace
Classes: CustomField, Issuer, RenderingOptions
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#account_tax_ids ⇒ Object
readonly
The account tax IDs associated with the invoice.
-
#custom_fields ⇒ Object
readonly
Custom fields displayed on the invoice.
-
#description ⇒ Object
readonly
An arbitrary string attached to the object.
-
#footer ⇒ Object
readonly
Footer displayed on the invoice.
-
#issuer ⇒ Object
readonly
The connected account that issues the invoice.
-
#metadata ⇒ Object
readonly
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#rendering_options ⇒ Object
readonly
Options for invoice PDF rendering.
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
#account_tax_ids ⇒ Object (readonly)
The account tax IDs associated with the invoice.
598 599 600 |
# File 'lib/stripe/resources/checkout/session.rb', line 598 def account_tax_ids @account_tax_ids end |
#custom_fields ⇒ Object (readonly)
Custom fields displayed on the invoice.
600 601 602 |
# File 'lib/stripe/resources/checkout/session.rb', line 600 def custom_fields @custom_fields end |
#description ⇒ Object (readonly)
An arbitrary string attached to the object. Often useful for displaying to users.
602 603 604 |
# File 'lib/stripe/resources/checkout/session.rb', line 602 def description @description end |
#footer ⇒ Object (readonly)
Footer displayed on the invoice.
604 605 606 |
# File 'lib/stripe/resources/checkout/session.rb', line 604 def @footer end |
#issuer ⇒ Object (readonly)
The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
606 607 608 |
# File 'lib/stripe/resources/checkout/session.rb', line 606 def issuer @issuer end |
#metadata ⇒ Object (readonly)
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
608 609 610 |
# File 'lib/stripe/resources/checkout/session.rb', line 608 def @metadata end |
#rendering_options ⇒ Object (readonly)
Options for invoice PDF rendering.
610 611 612 |
# File 'lib/stripe/resources/checkout/session.rb', line 610 def @rendering_options end |
Class Method Details
.field_remappings ⇒ Object
620 621 622 |
# File 'lib/stripe/resources/checkout/session.rb', line 620 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
612 613 614 615 616 617 618 |
# File 'lib/stripe/resources/checkout/session.rb', line 612 def self.inner_class_types @inner_class_types = { custom_fields: CustomField, issuer: Issuer, rendering_options: RenderingOptions, } end |