Class: Recurly::Resources::Invoice

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/invoice.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#accountAccountMini



11
# File 'lib/recurly/resources/invoice.rb', line 11

define_attribute :account, :AccountMini

#addressInvoiceAddress



15
# File 'lib/recurly/resources/invoice.rb', line 15

define_attribute :address, :InvoiceAddress

#balanceFloat



19
# File 'lib/recurly/resources/invoice.rb', line 19

define_attribute :balance, Float

#billing_info_idString



23
# File 'lib/recurly/resources/invoice.rb', line 23

define_attribute :billing_info_id, String

#business_entity_idString



27
# File 'lib/recurly/resources/invoice.rb', line 27

define_attribute :business_entity_id, String

#closed_atDateTime



31
# File 'lib/recurly/resources/invoice.rb', line 31

define_attribute :closed_at, DateTime

#collection_methodString



35
# File 'lib/recurly/resources/invoice.rb', line 35

define_attribute :collection_method, String

#created_atDateTime



39
# File 'lib/recurly/resources/invoice.rb', line 39

define_attribute :created_at, DateTime

#credit_paymentsArray[CreditPayment]



43
# File 'lib/recurly/resources/invoice.rb', line 43

define_attribute :credit_payments, Array, { :item_type => :CreditPayment }

#currencyString



47
# File 'lib/recurly/resources/invoice.rb', line 47

define_attribute :currency, String

#customer_notesString



51
# File 'lib/recurly/resources/invoice.rb', line 51

define_attribute :customer_notes, String

#discountFloat



55
# File 'lib/recurly/resources/invoice.rb', line 55

define_attribute :discount, Float

#due_atDateTime



59
# File 'lib/recurly/resources/invoice.rb', line 59

define_attribute :due_at, DateTime

#dunning_campaign_idString



63
# File 'lib/recurly/resources/invoice.rb', line 63

define_attribute :dunning_campaign_id, String

#dunning_events_sentInteger



67
# File 'lib/recurly/resources/invoice.rb', line 67

define_attribute :dunning_events_sent, Integer

#final_dunning_eventBoolean



71
# File 'lib/recurly/resources/invoice.rb', line 71

define_attribute :final_dunning_event, :Boolean

#has_more_line_itemsBoolean



75
# File 'lib/recurly/resources/invoice.rb', line 75

define_attribute :has_more_line_items, :Boolean

#idString



79
# File 'lib/recurly/resources/invoice.rb', line 79

define_attribute :id, String

#line_itemsArray[LineItem]



83
# File 'lib/recurly/resources/invoice.rb', line 83

define_attribute :line_items, Array, { :item_type => :LineItem }

#net_termsInteger



87
# File 'lib/recurly/resources/invoice.rb', line 87

define_attribute :net_terms, Integer

#net_terms_typeString



91
# File 'lib/recurly/resources/invoice.rb', line 91

define_attribute :net_terms_type, String

#numberString



95
# File 'lib/recurly/resources/invoice.rb', line 95

define_attribute :number, String

#objectString



99
# File 'lib/recurly/resources/invoice.rb', line 99

define_attribute :object, String

#originString



103
# File 'lib/recurly/resources/invoice.rb', line 103

define_attribute :origin, String


107
# File 'lib/recurly/resources/invoice.rb', line 107

define_attribute :paid, Float

#po_numberString



111
# File 'lib/recurly/resources/invoice.rb', line 111

define_attribute :po_number, String

#previous_invoice_idString



115
# File 'lib/recurly/resources/invoice.rb', line 115

define_attribute :previous_invoice_id, String

#reference_only_currency_conversionReferenceOnlyCurrencyConversion



119
# File 'lib/recurly/resources/invoice.rb', line 119

define_attribute :reference_only_currency_conversion, :ReferenceOnlyCurrencyConversion

#refundable_amountFloat



123
# File 'lib/recurly/resources/invoice.rb', line 123

define_attribute :refundable_amount, Float

#shipping_addressShippingAddress



127
# File 'lib/recurly/resources/invoice.rb', line 127

define_attribute :shipping_address, :ShippingAddress

#stateString



131
# File 'lib/recurly/resources/invoice.rb', line 131

define_attribute :state, String

#subscription_idsArray[String]



135
# File 'lib/recurly/resources/invoice.rb', line 135

define_attribute :subscription_ids, Array, { :item_type => String }

#subtotalFloat



139
# File 'lib/recurly/resources/invoice.rb', line 139

define_attribute :subtotal, Float

#subtotal_after_discountFloat



143
# File 'lib/recurly/resources/invoice.rb', line 143

define_attribute :subtotal_after_discount, Float

#taxFloat



147
# File 'lib/recurly/resources/invoice.rb', line 147

define_attribute :tax, Float

#tax_infoTaxInfo



151
# File 'lib/recurly/resources/invoice.rb', line 151

define_attribute :tax_info, :TaxInfo

#terms_and_conditionsString



155
# File 'lib/recurly/resources/invoice.rb', line 155

define_attribute :terms_and_conditions, String

#totalFloat



159
# File 'lib/recurly/resources/invoice.rb', line 159

define_attribute :total, Float

#transactionsArray[Transaction]



163
# File 'lib/recurly/resources/invoice.rb', line 163

define_attribute :transactions, Array, { :item_type => :Transaction }

#typeString



167
# File 'lib/recurly/resources/invoice.rb', line 167

define_attribute :type, String

#updated_atDateTime



171
# File 'lib/recurly/resources/invoice.rb', line 171

define_attribute :updated_at, DateTime

#used_tax_serviceBoolean



175
# File 'lib/recurly/resources/invoice.rb', line 175

define_attribute :used_tax_service, :Boolean

#uuidString



179
# File 'lib/recurly/resources/invoice.rb', line 179

define_attribute :uuid, String

#vat_numberString



183
# File 'lib/recurly/resources/invoice.rb', line 183

define_attribute :vat_number, String

#vat_reverse_charge_notesString



187
# File 'lib/recurly/resources/invoice.rb', line 187

define_attribute :vat_reverse_charge_notes, String