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.



15935
15936
15937
15938
15939
# File 'lib/eBay.rb', line 15935

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.



15929
15930
15931
# File 'lib/eBay.rb', line 15929

def __xmlele_any
  @__xmlele_any
end

#descriptionObject

Returns the value of attribute description.



15928
15929
15930
# File 'lib/eBay.rb', line 15928

def description
  @description
end

#paymentOptionObject

Returns the value of attribute paymentOption.



15927
15928
15929
# File 'lib/eBay.rb', line 15927

def paymentOption
  @paymentOption
end

Instance Method Details

#set_any(elements) ⇒ Object



15931
15932
15933
# File 'lib/eBay.rb', line 15931

def set_any(elements)
  @__xmlele_any = elements
end