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.



11946
11947
11948
11949
11950
11951
# File 'lib/eBay.rb', line 11946

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.



11940
11941
11942
# File 'lib/eBay.rb', line 11940

def __xmlele_any
  @__xmlele_any
end

#accountCodeObject

Returns the value of attribute accountCode.



11939
11940
11941
# File 'lib/eBay.rb', line 11939

def accountCode
  @accountCode
end

#balanceObject

Returns the value of attribute balance.



11937
11938
11939
# File 'lib/eBay.rb', line 11937

def balance
  @balance
end

#currencyObject

Returns the value of attribute currency.



11938
11939
11940
# File 'lib/eBay.rb', line 11938

def currency
  @currency
end

Instance Method Details

#set_any(elements) ⇒ Object



11942
11943
11944
# File 'lib/eBay.rb', line 11942

def set_any(elements)
  @__xmlele_any = elements
end