Class: PayPal::SDK::Merchant::DataTypes::IncentiveDetailsType

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

Overview

Information about the incentives that were applied from Ebay RYP page and PayPal RYP page.

Class Method Summary collapse

Class Method Details

.load_membersObject



2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
# File 'lib/paypal-sdk/merchant/data_types.rb', line 2153

def self.load_members
  # Unique Identifier consisting of redemption code, user friendly descripotion, incentive type, campaign code, incenitve application order and site redeemed on. 
  object_of :UniqueIdentifier, String, :namespace => :ebl
  # Defines if the incentive has been applied on Ebay or PayPal. 
  object_of :SiteAppliedOn, IncentiveSiteAppliedOnType, :namespace => :ebl
  # The total discount amount for the incentive, summation of discounts up across all the buckets/items. 
  object_of :TotalDiscountAmount, BasicAmountType, :namespace => :ebl
  # Status of incentive processing. Sussess or Error. 
  object_of :Status, IncentiveAppliedStatusType, :namespace => :ebl
  # Error code if there are any errors. Zero otherwise. 
  object_of :ErrorCode, Integer, :namespace => :ebl
  # Details of incentive application on individual bucket/item. 
  array_of :IncentiveAppliedDetails, IncentiveAppliedDetailsType, :namespace => :ebl
end