class PayPal::SDK::Merchant::DataTypes::DiscountInfoType

Describes discount information.

Public Class Methods

load_members() click to toggle source
# 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