Class: ExternalTransactionType

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

Overview

urn:ebay:apis:eBLBaseComponentsExternalTransactionType

Constant Summary collapse

@@schema_type =
"ExternalTransactionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["externalTransactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalTransactionID")]],
  ["externalTransactionTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalTransactionTime")]],
  ["feeOrCreditAmount", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FeeOrCreditAmount")]],
  ["paymentOrRefundAmount", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentOrRefundAmount")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(externalTransactionID = nil, externalTransactionTime = nil, feeOrCreditAmount = nil, paymentOrRefundAmount = nil) ⇒ ExternalTransactionType

Returns a new instance of ExternalTransactionType.



15536
15537
15538
15539
15540
15541
15542
# File 'lib/eBay.rb', line 15536

def initialize(externalTransactionID = nil, externalTransactionTime = nil, feeOrCreditAmount = nil, paymentOrRefundAmount = nil)
  @externalTransactionID = externalTransactionID
  @externalTransactionTime = externalTransactionTime
  @feeOrCreditAmount = feeOrCreditAmount
  @paymentOrRefundAmount = paymentOrRefundAmount
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15530
15531
15532
# File 'lib/eBay.rb', line 15530

def __xmlele_any
  @__xmlele_any
end

#externalTransactionIDObject

Returns the value of attribute externalTransactionID.



15526
15527
15528
# File 'lib/eBay.rb', line 15526

def externalTransactionID
  @externalTransactionID
end

#externalTransactionTimeObject

Returns the value of attribute externalTransactionTime.



15527
15528
15529
# File 'lib/eBay.rb', line 15527

def externalTransactionTime
  @externalTransactionTime
end

#feeOrCreditAmountObject

Returns the value of attribute feeOrCreditAmount.



15528
15529
15530
# File 'lib/eBay.rb', line 15528

def feeOrCreditAmount
  @feeOrCreditAmount
end

#paymentOrRefundAmountObject

Returns the value of attribute paymentOrRefundAmount.



15529
15530
15531
# File 'lib/eBay.rb', line 15529

def paymentOrRefundAmount
  @paymentOrRefundAmount
end

Instance Method Details

#set_any(elements) ⇒ Object



15532
15533
15534
# File 'lib/eBay.rb', line 15532

def set_any(elements)
  @__xmlele_any = elements
end