Class: AdditionalAccountType

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

Overview

urn:ebay:apis:eBLBaseComponentsAdditionalAccountType

Constant Summary collapse

@@schema_type =
"AdditionalAccountType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["balance", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Balance")]],
  ["currency", ["CurrencyCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Currency")]],
  ["accountCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AccountCode")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(balance = nil, currency = nil, accountCode = nil) ⇒ AdditionalAccountType

Returns a new instance of AdditionalAccountType.



14992
14993
14994
14995
14996
14997
# File 'lib/eBay.rb', line 14992

def initialize(balance = nil, currency = nil, accountCode = nil)
  @balance = balance
  @currency = currency
  @accountCode = accountCode
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



14986
14987
14988
# File 'lib/eBay.rb', line 14986

def __xmlele_any
  @__xmlele_any
end

#accountCodeObject

Returns the value of attribute accountCode.



14985
14986
14987
# File 'lib/eBay.rb', line 14985

def accountCode
  @accountCode
end

#balanceObject

Returns the value of attribute balance.



14983
14984
14985
# File 'lib/eBay.rb', line 14983

def balance
  @balance
end

#currencyObject

Returns the value of attribute currency.



14984
14985
14986
# File 'lib/eBay.rb', line 14984

def currency
  @currency
end

Instance Method Details

#set_any(elements) ⇒ Object



14988
14989
14990
# File 'lib/eBay.rb', line 14988

def set_any(elements)
  @__xmlele_any = elements
end