Class: PayPal::SDK::Merchant::DataTypes::DiscountInfoType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/merchant/data_types.rb

Overview

Describes discount information.

Class Method Summary collapse

Class Method Details

.load_membersObject



3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3370

def self.load_members
  # (Optional)Item name. Character length and limits: 127 single-byte characters 
  object_of :Name, String, :namespace => :ebl
  # (Optional)Description of the discount. Character length and limits: 127 single-byte characters 
  object_of :Description, String, :namespace => :ebl
  # (Optional)Amount discounted. The value includes an amount and a 3-character currency code. 
  object_of :Amount, BasicAmountType, :namespace => :ebl
  # (Optional)Offer type. 
  object_of :RedeemedOfferType, RedeemedOfferType, :namespace => :ebl
  # (Optional)Offer ID. Character length and limits: 64 single-byte characters. 
  object_of :RedeemedOfferId, String, :namespace => :ebl
  # (Optional)Loyalty points accrued. 
  object_of :PointsAccrued, Float, :namespace => :ebl
end