Class: Recurly::Requests::GiftCardCreate
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::GiftCardCreate
- Defined in:
- lib/recurly/requests/gift_card_create.rb
Instance Attribute Summary collapse
-
#currency ⇒ String
3-letter ISO 4217 currency code.
-
#delivery ⇒ GiftCardDeliveryCreate
The delivery details for the gift card.
-
#gifter_account ⇒ AccountPurchase
Block of account details for the gifter.
-
#product_code ⇒ String
The product code or SKU of the gift card product.
-
#unit_amount ⇒ Float
The amount of the gift card, which is the amount of the charge to the gifter account and the amount of credit that is applied to the recipient account upon successful redemption.
Attributes inherited from Recurly::Request
Method Summary
Methods inherited from Recurly::Request
Methods included from Schema::SchemaFactory
Methods included from Schema::RequestCaster
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#currency ⇒ String
11 |
# File 'lib/recurly/requests/gift_card_create.rb', line 11 define_attribute :currency, String |
#delivery ⇒ GiftCardDeliveryCreate
15 |
# File 'lib/recurly/requests/gift_card_create.rb', line 15 define_attribute :delivery, :GiftCardDeliveryCreate |
#gifter_account ⇒ AccountPurchase
19 |
# File 'lib/recurly/requests/gift_card_create.rb', line 19 define_attribute :gifter_account, :AccountPurchase |
#product_code ⇒ String
23 |
# File 'lib/recurly/requests/gift_card_create.rb', line 23 define_attribute :product_code, String |
#unit_amount ⇒ Float
27 |
# File 'lib/recurly/requests/gift_card_create.rb', line 27 define_attribute :unit_amount, Float |