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.



17602
17603
17604
17605
17606
17607
17608
# File 'lib/eBay.rb', line 17602

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.



17596
17597
17598
# File 'lib/eBay.rb', line 17596

def __xmlele_any
  @__xmlele_any
end

#externalTransactionIDObject

Returns the value of attribute externalTransactionID.



17592
17593
17594
# File 'lib/eBay.rb', line 17592

def externalTransactionID
  @externalTransactionID
end

#externalTransactionTimeObject

Returns the value of attribute externalTransactionTime.



17593
17594
17595
# File 'lib/eBay.rb', line 17593

def externalTransactionTime
  @externalTransactionTime
end

#feeOrCreditAmountObject

Returns the value of attribute feeOrCreditAmount.



17594
17595
17596
# File 'lib/eBay.rb', line 17594

def feeOrCreditAmount
  @feeOrCreditAmount
end

#paymentOrRefundAmountObject

Returns the value of attribute paymentOrRefundAmount.



17595
17596
17597
# File 'lib/eBay.rb', line 17595

def paymentOrRefundAmount
  @paymentOrRefundAmount
end

Instance Method Details

#set_any(elements) ⇒ Object



17598
17599
17600
# File 'lib/eBay.rb', line 17598

def set_any(elements)
  @__xmlele_any = elements
end