Class: Stripe::Subscription::InvoiceSettings
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::Subscription::InvoiceSettings
- Defined in:
- lib/stripe/resources/subscription.rb
Defined Under Namespace
Classes: CustomField, Issuer
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#account_tax_ids ⇒ Object
readonly
The account tax IDs associated with the subscription.
-
#custom_fields ⇒ Object
readonly
A list of up to 4 custom fields to be displayed on the invoice.
-
#description ⇒ Object
readonly
An arbitrary string attached to the object.
-
#footer ⇒ Object
readonly
Footer to be displayed on the invoice.
-
#issuer ⇒ Object
readonly
Attribute for field issuer.
Attributes inherited from Stripe::StripeObject
Class Method Summary collapse
Methods inherited from Stripe::StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #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 subscription. Will be set on invoices generated by the subscription.
227 228 229 |
# File 'lib/stripe/resources/subscription.rb', line 227 def account_tax_ids @account_tax_ids end |
#custom_fields ⇒ Object (readonly)
A list of up to 4 custom fields to be displayed on the invoice.
229 230 231 |
# File 'lib/stripe/resources/subscription.rb', line 229 def custom_fields @custom_fields end |
#description ⇒ Object (readonly)
An arbitrary string attached to the object. Often useful for displaying to users.
231 232 233 |
# File 'lib/stripe/resources/subscription.rb', line 231 def description @description end |
#footer ⇒ Object (readonly)
Footer to be displayed on the invoice.
233 234 235 |
# File 'lib/stripe/resources/subscription.rb', line 233 def @footer end |
#issuer ⇒ Object (readonly)
Attribute for field issuer
235 236 237 |
# File 'lib/stripe/resources/subscription.rb', line 235 def issuer @issuer end |
Class Method Details
.field_remappings ⇒ Object
241 242 243 |
# File 'lib/stripe/resources/subscription.rb', line 241 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
237 238 239 |
# File 'lib/stripe/resources/subscription.rb', line 237 def self.inner_class_types @inner_class_types = { custom_fields: CustomField, issuer: Issuer } end |