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.



15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
# File 'lib/eBay.rb', line 15751

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.



15745
15746
15747
# File 'lib/eBay.rb', line 15745

def __xmlele_any
  @__xmlele_any
end

#adjustmentAmountObject

Returns the value of attribute adjustmentAmount.



15729
15730
15731
# File 'lib/eBay.rb', line 15729

def adjustmentAmount
  @adjustmentAmount
end

#amountPaidObject

Returns the value of attribute amountPaid.



15730
15731
15732
# File 'lib/eBay.rb', line 15730

def amountPaid
  @amountPaid
end

#amountSavedObject

Returns the value of attribute amountSaved.



15731
15732
15733
# File 'lib/eBay.rb', line 15731

def amountSaved
  @amountSaved
end

#checkoutStatusObject

Returns the value of attribute checkoutStatus.



15732
15733
15734
# File 'lib/eBay.rb', line 15732

def checkoutStatus
  @checkoutStatus
end

#createdTimeObject

Returns the value of attribute createdTime.



15735
15736
15737
# File 'lib/eBay.rb', line 15735

def createdTime
  @createdTime
end

#creatingUserRoleObject

Returns the value of attribute creatingUserRole.



15734
15735
15736
# File 'lib/eBay.rb', line 15734

def creatingUserRole
  @creatingUserRole
end

#externalTransactionObject

Returns the value of attribute externalTransaction.



15743
15744
15745
# File 'lib/eBay.rb', line 15743

def externalTransaction
  @externalTransaction
end

#financeOfferIDObject

Returns the value of attribute financeOfferID.



15736
15737
15738
# File 'lib/eBay.rb', line 15736

def financeOfferID
  @financeOfferID
end

#orderIDObject

Returns the value of attribute orderID.



15727
15728
15729
# File 'lib/eBay.rb', line 15727

def orderID
  @orderID
end

#orderStatusObject

Returns the value of attribute orderStatus.



15728
15729
15730
# File 'lib/eBay.rb', line 15728

def orderStatus
  @orderStatus
end

#paymentMethodsObject

Returns the value of attribute paymentMethods.



15737
15738
15739
# File 'lib/eBay.rb', line 15737

def paymentMethods
  @paymentMethods
end

#sellerEmailObject

Returns the value of attribute sellerEmail.



15738
15739
15740
# File 'lib/eBay.rb', line 15738

def sellerEmail
  @sellerEmail
end

#shippingAddressObject

Returns the value of attribute shippingAddress.



15739
15740
15741
# File 'lib/eBay.rb', line 15739

def shippingAddress
  @shippingAddress
end

#shippingDetailsObject

Returns the value of attribute shippingDetails.



15733
15734
15735
# File 'lib/eBay.rb', line 15733

def shippingDetails
  @shippingDetails
end

#shippingServiceSelectedObject

Returns the value of attribute shippingServiceSelected.



15740
15741
15742
# File 'lib/eBay.rb', line 15740

def shippingServiceSelected
  @shippingServiceSelected
end

#subtotalObject

Returns the value of attribute subtotal.



15741
15742
15743
# File 'lib/eBay.rb', line 15741

def subtotal
  @subtotal
end

#totalObject

Returns the value of attribute total.



15742
15743
15744
# File 'lib/eBay.rb', line 15742

def total
  @total
end

#transactionArrayObject

Returns the value of attribute transactionArray.



15744
15745
15746
# File 'lib/eBay.rb', line 15744

def transactionArray
  @transactionArray
end

Instance Method Details

#set_any(elements) ⇒ Object



15747
15748
15749
# File 'lib/eBay.rb', line 15747

def set_any(elements)
  @__xmlele_any = elements
end