Class: AdditionalAccountType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AdditionalAccountType.



1814
1815
1816
1817
1818
# File 'lib/paypal-business/default.rb', line 1814

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

Instance Attribute Details

#accountCodeObject

Returns the value of attribute accountCode.



1812
1813
1814
# File 'lib/paypal-business/default.rb', line 1812

def accountCode
  @accountCode
end

#balanceObject

Returns the value of attribute balance.



1810
1811
1812
# File 'lib/paypal-business/default.rb', line 1810

def balance
  @balance
end

#currencyObject

Returns the value of attribute currency.



1811
1812
1813
# File 'lib/paypal-business/default.rb', line 1811

def currency
  @currency
end