Class: Recurly::Requests::ExternalTransaction

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/external_transaction.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

#amountFloat

Returns The total amount of the transcaction. Cannot excceed the invoice total.

Returns:

  • (Float)

    The total amount of the transcaction. Cannot excceed the invoice total.



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

define_attribute :amount, Float

#collected_atDateTime

Returns Datetime that the external payment was collected. Defaults to current datetime.

Returns:

  • (DateTime)

    Datetime that the external payment was collected. Defaults to current datetime.



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

define_attribute :collected_at, DateTime

#descriptionString

Returns Used as the transaction's description.

Returns:

  • (String)

    Used as the transaction's description.



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

define_attribute :description, String

#payment_methodString

Returns Payment method used for external transaction.

Returns:

  • (String)

    Payment method used for external transaction.



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

define_attribute :payment_method, String