Class: Recurly::Requests::CouponRedemptionCreate

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

#coupon_idString

Returns Coupon ID.

Returns:

  • (String)

    Coupon ID



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

define_attribute :coupon_id, String

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#subscription_idString

Returns Subscription ID.

Returns:

  • (String)

    Subscription ID



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

define_attribute :subscription_id, String