Class: PaymentOptionDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsPaymentOptionDetailsType

Constant Summary collapse

@@schema_type =
"PaymentOptionDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["paymentOption", ["BuyerPaymentMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentOption")]],
  ["description", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Description")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paymentOption = nil, description = nil) ⇒ PaymentOptionDetailsType

Returns a new instance of PaymentOptionDetailsType.



20605
20606
20607
20608
20609
# File 'lib/eBay.rb', line 20605

def initialize(paymentOption = nil, description = nil)
  @paymentOption = paymentOption
  @description = description
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20599
20600
20601
# File 'lib/eBay.rb', line 20599

def __xmlele_any
  @__xmlele_any
end

#descriptionObject

Returns the value of attribute description.



20598
20599
20600
# File 'lib/eBay.rb', line 20598

def description
  @description
end

#paymentOptionObject

Returns the value of attribute paymentOption.



20597
20598
20599
# File 'lib/eBay.rb', line 20597

def paymentOption
  @paymentOption
end

Instance Method Details

#set_any(elements) ⇒ Object



20601
20602
20603
# File 'lib/eBay.rb', line 20601

def set_any(elements)
  @__xmlele_any = elements
end