Class: Recurly::Resources::GiftCard

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

#balanceFloat



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

define_attribute :balance, Float

#canceled_atDateTime



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

define_attribute :canceled_at, DateTime

#created_atDateTime



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

define_attribute :created_at, DateTime

#currencyString



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

define_attribute :currency, String

#delivered_atDateTime



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

define_attribute :delivered_at, DateTime

#deliveryGiftCardDelivery



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

define_attribute :delivery, :GiftCardDelivery

#gifter_account_idString



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

define_attribute :gifter_account_id, String

#idString



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

define_attribute :id, String

#liability_gl_account_idString



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

define_attribute :liability_gl_account_id, String

#objectString



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

define_attribute :object, String

#performance_obligation_idString



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

define_attribute :performance_obligation_id, String

#product_codeString



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

define_attribute :product_code, String

#purchase_invoice_idString



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

define_attribute :purchase_invoice_id, String

#recipient_account_idString



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

define_attribute :recipient_account_id, String

#redeemed_atDateTime



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

define_attribute :redeemed_at, DateTime

#redemption_codeString



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

define_attribute :redemption_code, String

#redemption_invoice_idString



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

define_attribute :redemption_invoice_id, String

#revenue_gl_account_idString



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

define_attribute :revenue_gl_account_id, String

#unit_amountFloat



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

define_attribute :unit_amount, Float

#updated_atDateTime



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

define_attribute :updated_at, DateTime