Class: Recurly::Requests::CouponUpdate
- Inherits:
- 
      Recurly::Request
      
        - Object
- Recurly::Request
- Recurly::Requests::CouponUpdate
 
- Defined in:
- lib/recurly/requests/coupon_update.rb
Instance Attribute Summary collapse
- 
  
    
      #hosted_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This description will show up when a customer redeems a coupon on your Hosted Payment Pages, or if you choose to show the description on your own checkout page. 
- 
  
    
      #invoice_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Description of the coupon on the invoice. 
- 
  
    
      #max_redemptions  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A maximum number of redemptions for the coupon. 
- 
  
    
      #max_redemptions_per_account  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Redemptions per account is the number of times a specific account can redeem the coupon. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The internal name for the coupon. 
- 
  
    
      #redeem_by_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date and time the coupon will expire and can no longer be redeemed. 
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
#hosted_description ⇒ String
Returns This description will show up when a customer redeems a coupon on your Hosted Payment Pages, or if you choose to show the description on your own checkout page.
| 11 | # File 'lib/recurly/requests/coupon_update.rb', line 11 define_attribute :hosted_description, String | 
#invoice_description ⇒ String
Returns Description of the coupon on the invoice.
| 15 | # File 'lib/recurly/requests/coupon_update.rb', line 15 define_attribute :invoice_description, String | 
#max_redemptions ⇒ Integer
Returns A maximum number of redemptions for the coupon. The coupon will expire when it hits its maximum redemptions.
| 19 | # File 'lib/recurly/requests/coupon_update.rb', line 19 define_attribute :max_redemptions, Integer | 
#max_redemptions_per_account ⇒ Integer
Returns Redemptions per account is the number of times a specific account can redeem the coupon. Set redemptions per account to `1` if you want to keep customers from gaming the system and getting more than one discount from the coupon campaign.
| 23 | # File 'lib/recurly/requests/coupon_update.rb', line 23 define_attribute :max_redemptions_per_account, Integer | 
#name ⇒ String
Returns The internal name for the coupon.
| 27 | # File 'lib/recurly/requests/coupon_update.rb', line 27 define_attribute :name, String | 
#redeem_by_date ⇒ String
Returns The date and time the coupon will expire and can no longer be redeemed. Time is always 11:59:59, the end-of-day Pacific time.
| 31 | # File 'lib/recurly/requests/coupon_update.rb', line 31 define_attribute :redeem_by_date, String |