Class: Recurly::Requests::ExternalInvoiceCreate

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/external_invoice_create.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



11
# File 'lib/recurly/requests/external_invoice_create.rb', line 11

define_attribute :currency, String

#external_idString

Returns An identifier which associates the external invoice to a corresponding object in an external platform.

Returns:

  • (String)

    An identifier which associates the external invoice to a corresponding object in an external platform.



15
# File 'lib/recurly/requests/external_invoice_create.rb', line 15

define_attribute :external_id, String

#external_payment_phaseExternalPaymentPhaseBase



19
# File 'lib/recurly/requests/external_invoice_create.rb', line 19

define_attribute :external_payment_phase, :ExternalPaymentPhaseBase

#external_payment_phase_idString

Returns External payment phase ID, e.g. `a34ypb2ef9w1`.

Returns:

  • (String)

    External payment phase ID, e.g. `a34ypb2ef9w1`.



23
# File 'lib/recurly/requests/external_invoice_create.rb', line 23

define_attribute :external_payment_phase_id, String

#line_itemsArray[ExternalChargeCreate]

Returns:



27
# File 'lib/recurly/requests/external_invoice_create.rb', line 27

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

#purchased_atDateTime

Returns When the invoice was created in the external platform.

Returns:

  • (DateTime)

    When the invoice was created in the external platform.



31
# File 'lib/recurly/requests/external_invoice_create.rb', line 31

define_attribute :purchased_at, DateTime

#stateString

Returns:

  • (String)


35
# File 'lib/recurly/requests/external_invoice_create.rb', line 35

define_attribute :state, String

#totalString

Returns:

  • (String)


39
# File 'lib/recurly/requests/external_invoice_create.rb', line 39

define_attribute :total, String