Class: Recurly::Resources::ExternalCharge
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::ExternalCharge
- Defined in:
- lib/recurly/resources/external_charge.rb
Instance Attribute Summary collapse
-
#account ⇒ AccountMini
Account mini details.
-
#created_at ⇒ DateTime
When the external charge was created in Recurly.
-
#currency ⇒ String
3-letter ISO 4217 currency code.
- #description ⇒ String
-
#external_product_reference ⇒ ExternalProductReferenceMini
External Product Reference details.
-
#id ⇒ String
System-generated unique identifier for an external charge ID, e.g.
-
#object ⇒ String
Object type.
- #quantity ⇒ Integer
-
#unit_amount ⇒ String
Unit Amount.
-
#updated_at ⇒ DateTime
When the external charge was updated in Recurly.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#account ⇒ AccountMini
Returns Account mini details.
11 |
# File 'lib/recurly/resources/external_charge.rb', line 11 define_attribute :account, :AccountMini |
#created_at ⇒ DateTime
Returns When the external charge was created in Recurly.
15 |
# File 'lib/recurly/resources/external_charge.rb', line 15 define_attribute :created_at, DateTime |
#currency ⇒ String
Returns 3-letter ISO 4217 currency code.
19 |
# File 'lib/recurly/resources/external_charge.rb', line 19 define_attribute :currency, String |
#description ⇒ String
23 |
# File 'lib/recurly/resources/external_charge.rb', line 23 define_attribute :description, String |
#external_product_reference ⇒ ExternalProductReferenceMini
Returns External Product Reference details.
27 |
# File 'lib/recurly/resources/external_charge.rb', line 27 define_attribute :external_product_reference, :ExternalProductReferenceMini |
#id ⇒ String
Returns System-generated unique identifier for an external charge ID, e.g. `e28zov4fw0v2`.
31 |
# File 'lib/recurly/resources/external_charge.rb', line 31 define_attribute :id, String |
#object ⇒ String
Returns Object type.
35 |
# File 'lib/recurly/resources/external_charge.rb', line 35 define_attribute :object, String |
#quantity ⇒ Integer
39 |
# File 'lib/recurly/resources/external_charge.rb', line 39 define_attribute :quantity, Integer |
#unit_amount ⇒ String
Returns Unit Amount.
43 |
# File 'lib/recurly/resources/external_charge.rb', line 43 define_attribute :unit_amount, String |
#updated_at ⇒ DateTime
Returns When the external charge was updated in Recurly.
47 |
# File 'lib/recurly/resources/external_charge.rb', line 47 define_attribute :updated_at, DateTime |