Class: Stripe::Subscription::InvoiceSettings

Inherits:
Stripe::StripeObject show all
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

Attributes inherited from Stripe::StripeObject

#last_response

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_idsObject (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
end

#custom_fieldsObject (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

#descriptionObject (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 to be displayed on the invoice.



233
234
235
# File 'lib/stripe/resources/subscription.rb', line 233

def footer
  @footer
end

#issuerObject (readonly)

Attribute for field issuer



235
236
237
# File 'lib/stripe/resources/subscription.rb', line 235

def issuer
  @issuer
end

Class Method Details

.field_remappingsObject



241
242
243
# File 'lib/stripe/resources/subscription.rb', line 241

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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