Class: PayPal::SDK::ButtonManagerRails::DataTypes::IncentiveDetailsType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/button_manager_rails/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



2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 2088

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