Class: Recurly::Resources::CreditPayment

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/credit_payment.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

Returns Account mini details.

Returns:



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

define_attribute :account, :AccountMini

#actionString

Returns The action for which the credit was created.

Returns:

  • (String)

    The action for which the credit was created.



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

define_attribute :action, String

#amountFloat

Returns Total credit payment amount applied to the charge invoice.

Returns:

  • (Float)

    Total credit payment amount applied to the charge invoice.



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

define_attribute :amount, Float

#applied_to_invoiceInvoiceMini

Returns Invoice mini details.

Returns:



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

define_attribute :applied_to_invoice, :InvoiceMini

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



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

define_attribute :created_at, DateTime

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#idString

Returns Credit Payment ID.

Returns:

  • (String)

    Credit Payment ID



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

define_attribute :id, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#original_credit_payment_idString

Returns For credit payments with action `refund`, this is the credit payment that was refunded.

Returns:

  • (String)

    For credit payments with action `refund`, this is the credit payment that was refunded.



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

define_attribute :original_credit_payment_id, String

#original_invoiceInvoiceMini

Returns Invoice mini details.

Returns:



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

define_attribute :original_invoice, :InvoiceMini

#refund_transactionTransaction

Returns:



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

define_attribute :refund_transaction, :Transaction

#updated_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



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

define_attribute :updated_at, DateTime

#uuidString

Returns The UUID is useful for matching data with the CSV exports and building URLs into Recurly's UI.

Returns:

  • (String)

    The UUID is useful for matching data with the CSV exports and building URLs into Recurly's UI.



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

define_attribute :uuid, String

#voided_atDateTime

Returns Voided at.

Returns:

  • (DateTime)

    Voided at



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

define_attribute :voided_at, DateTime