Class: PayPal::SDK::ButtonManagerRails::DataTypes::DiscountType

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

Overview

Describes discount information

Class Method Summary collapse

Class Method Details

.load_membersObject



3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3160

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