Class: PayPal::SDK::Merchant::DataTypes::DiscountType

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



3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
# 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