class PayPal::SDK::Merchant::DataTypes::DiscountType

Describes discount information

Public Class Methods

load_members() click to toggle source
# File lib/paypal-sdk/merchant/data_types.rb, line 3234
def self.load_members
  # Item nameOptional Character length and limits: 127 single-byte characters
  object_of :Name, String, :namespace => :ebl
  # description of the discountOptional Character length and limits: 127 single-byte characters
  object_of :Description, String, :namespace => :ebl
  # amount discountedOptional
  object_of :Amount, BasicAmountType, :namespace => :ebl, :required => true
  # offer typeOptional
  object_of :RedeemedOfferType, RedeemedOfferType, :namespace => :ebl
  # offer IDOptional Character length and limits: 64 single-byte characters
  object_of :RedeemedOfferID, String, :namespace => :ebl
end