Class: Recurly::Resources::UniqueCouponCodeParams

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

#begin_timeDateTime

Returns The date-time to be included when listing UniqueCouponCodes.

Returns:

  • (DateTime)

    The date-time to be included when listing UniqueCouponCodes



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

define_attribute :begin_time, DateTime

#limitInteger

Returns The number of UniqueCouponCodes that will be generated.

Returns:

  • (Integer)

    The number of UniqueCouponCodes that will be generated



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

define_attribute :limit, Integer

#orderString

Returns Sort order to list newly generated UniqueCouponCodes (should always be `asc`).

Returns:

  • (String)

    Sort order to list newly generated UniqueCouponCodes (should always be `asc`)



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

define_attribute :order, String

#sortString

Returns Sort field to list newly generated UniqueCouponCodes (should always be `created_at`).

Returns:

  • (String)

    Sort field to list newly generated UniqueCouponCodes (should always be `created_at`)



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

define_attribute :sort, String