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.



18182
18183
18184
18185
18186
# File 'lib/eBay.rb', line 18182

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.



18176
18177
18178
# File 'lib/eBay.rb', line 18176

def __xmlele_any
  @__xmlele_any
end

#descriptionObject

Returns the value of attribute description.



18175
18176
18177
# File 'lib/eBay.rb', line 18175

def description
  @description
end

#paymentOptionObject

Returns the value of attribute paymentOption.



18174
18175
18176
# File 'lib/eBay.rb', line 18174

def paymentOption
  @paymentOption
end

Instance Method Details

#set_any(elements) ⇒ Object



18178
18179
18180
# File 'lib/eBay.rb', line 18178

def set_any(elements)
  @__xmlele_any = elements
end