Class: OrderType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsOrderType

Constant Summary collapse

@@schema_type =
"OrderType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["orderID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderID")]],
  ["orderStatus", ["OrderStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderStatus")]],
  ["adjustmentAmount", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AdjustmentAmount")]],
  ["amountPaid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AmountPaid")]],
  ["amountSaved", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AmountSaved")]],
  ["checkoutStatus", ["CheckoutStatusType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CheckoutStatus")]],
  ["shippingDetails", ["ShippingDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingDetails")]],
  ["creatingUserRole", ["TradingRoleCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreatingUserRole")]],
  ["createdTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreatedTime")]],
  ["financeOfferID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FinanceOfferID")]],
  ["paymentMethods", ["BuyerPaymentMethodCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentMethods")]],
  ["sellerEmail", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerEmail")]],
  ["shippingAddress", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingAddress")]],
  ["shippingServiceSelected", ["ShippingServiceOptionsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServiceSelected")]],
  ["subtotal", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Subtotal")]],
  ["total", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Total")]],
  ["externalTransaction", ["ExternalTransactionType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalTransaction")]],
  ["transactionArray", ["TransactionArrayType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionArray")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderID = nil, orderStatus = nil, adjustmentAmount = nil, amountPaid = nil, amountSaved = nil, checkoutStatus = nil, shippingDetails = nil, creatingUserRole = nil, createdTime = nil, financeOfferID = nil, paymentMethods = [], sellerEmail = nil, shippingAddress = nil, shippingServiceSelected = nil, subtotal = nil, total = nil, externalTransaction = [], transactionArray = nil) ⇒ OrderType

Returns a new instance of OrderType.



17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
# File 'lib/eBay.rb', line 17990

def initialize(orderID = nil, orderStatus = nil, adjustmentAmount = nil, amountPaid = nil, amountSaved = nil, checkoutStatus = nil, shippingDetails = nil, creatingUserRole = nil, createdTime = nil, financeOfferID = nil, paymentMethods = [], sellerEmail = nil, shippingAddress = nil, shippingServiceSelected = nil, subtotal = nil, total = nil, externalTransaction = [], transactionArray = nil)
  @orderID = orderID
  @orderStatus = orderStatus
  @adjustmentAmount = adjustmentAmount
  @amountPaid = amountPaid
  @amountSaved = amountSaved
  @checkoutStatus = checkoutStatus
  @shippingDetails = shippingDetails
  @creatingUserRole = creatingUserRole
  @createdTime = createdTime
  @financeOfferID = financeOfferID
  @paymentMethods = paymentMethods
  @sellerEmail = sellerEmail
  @shippingAddress = shippingAddress
  @shippingServiceSelected = shippingServiceSelected
  @subtotal = subtotal
  @total = total
  @externalTransaction = externalTransaction
  @transactionArray = transactionArray
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17984
17985
17986
# File 'lib/eBay.rb', line 17984

def __xmlele_any
  @__xmlele_any
end

#adjustmentAmountObject

Returns the value of attribute adjustmentAmount.



17968
17969
17970
# File 'lib/eBay.rb', line 17968

def adjustmentAmount
  @adjustmentAmount
end

#amountPaidObject

Returns the value of attribute amountPaid.



17969
17970
17971
# File 'lib/eBay.rb', line 17969

def amountPaid
  @amountPaid
end

#amountSavedObject

Returns the value of attribute amountSaved.



17970
17971
17972
# File 'lib/eBay.rb', line 17970

def amountSaved
  @amountSaved
end

#checkoutStatusObject

Returns the value of attribute checkoutStatus.



17971
17972
17973
# File 'lib/eBay.rb', line 17971

def checkoutStatus
  @checkoutStatus
end

#createdTimeObject

Returns the value of attribute createdTime.



17974
17975
17976
# File 'lib/eBay.rb', line 17974

def createdTime
  @createdTime
end

#creatingUserRoleObject

Returns the value of attribute creatingUserRole.



17973
17974
17975
# File 'lib/eBay.rb', line 17973

def creatingUserRole
  @creatingUserRole
end

#externalTransactionObject

Returns the value of attribute externalTransaction.



17982
17983
17984
# File 'lib/eBay.rb', line 17982

def externalTransaction
  @externalTransaction
end

#financeOfferIDObject

Returns the value of attribute financeOfferID.



17975
17976
17977
# File 'lib/eBay.rb', line 17975

def financeOfferID
  @financeOfferID
end

#orderIDObject

Returns the value of attribute orderID.



17966
17967
17968
# File 'lib/eBay.rb', line 17966

def orderID
  @orderID
end

#orderStatusObject

Returns the value of attribute orderStatus.



17967
17968
17969
# File 'lib/eBay.rb', line 17967

def orderStatus
  @orderStatus
end

#paymentMethodsObject

Returns the value of attribute paymentMethods.



17976
17977
17978
# File 'lib/eBay.rb', line 17976

def paymentMethods
  @paymentMethods
end

#sellerEmailObject

Returns the value of attribute sellerEmail.



17977
17978
17979
# File 'lib/eBay.rb', line 17977

def sellerEmail
  @sellerEmail
end

#shippingAddressObject

Returns the value of attribute shippingAddress.



17978
17979
17980
# File 'lib/eBay.rb', line 17978

def shippingAddress
  @shippingAddress
end

#shippingDetailsObject

Returns the value of attribute shippingDetails.



17972
17973
17974
# File 'lib/eBay.rb', line 17972

def shippingDetails
  @shippingDetails
end

#shippingServiceSelectedObject

Returns the value of attribute shippingServiceSelected.



17979
17980
17981
# File 'lib/eBay.rb', line 17979

def shippingServiceSelected
  @shippingServiceSelected
end

#subtotalObject

Returns the value of attribute subtotal.



17980
17981
17982
# File 'lib/eBay.rb', line 17980

def subtotal
  @subtotal
end

#totalObject

Returns the value of attribute total.



17981
17982
17983
# File 'lib/eBay.rb', line 17981

def total
  @total
end

#transactionArrayObject

Returns the value of attribute transactionArray.



17983
17984
17985
# File 'lib/eBay.rb', line 17983

def transactionArray
  @transactionArray
end

Instance Method Details

#set_any(elements) ⇒ Object



17986
17987
17988
# File 'lib/eBay.rb', line 17986

def set_any(elements)
  @__xmlele_any = elements
end