Class: SellerPaymentPreferencesType

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

Overview

urn:ebay:apis:eBLBaseComponentsSellerPaymentPreferencesType

Constant Summary collapse

@@schema_type =
"SellerPaymentPreferencesType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["alwaysUseThisPaymentAddress", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AlwaysUseThisPaymentAddress")]],
["displayPayNowButton", ["DisplayPayNowButtonCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisplayPayNowButton")]],
["payPalPreferred", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayPalPreferred")]],
["defaultPayPalEmailAddress", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DefaultPayPalEmailAddress")]],
["payPalAlwaysOn", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayPalAlwaysOn")]],
["sellerPaymentAddress", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerPaymentAddress")]],
["uPSRateOption", ["UPSRateOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UPSRateOption")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alwaysUseThisPaymentAddress = nil, displayPayNowButton = nil, payPalPreferred = nil, defaultPayPalEmailAddress = nil, payPalAlwaysOn = nil, sellerPaymentAddress = nil, uPSRateOption = nil) ⇒ SellerPaymentPreferencesType

Returns a new instance of SellerPaymentPreferencesType.



17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
# File 'lib/eBay.rb', line 17165

def initialize(alwaysUseThisPaymentAddress = nil, displayPayNowButton = nil, payPalPreferred = nil, defaultPayPalEmailAddress = nil, payPalAlwaysOn = nil, sellerPaymentAddress = nil, uPSRateOption = nil)
  @alwaysUseThisPaymentAddress = alwaysUseThisPaymentAddress
  @displayPayNowButton = displayPayNowButton
  @payPalPreferred = payPalPreferred
  @defaultPayPalEmailAddress = defaultPayPalEmailAddress
  @payPalAlwaysOn = payPalAlwaysOn
  @sellerPaymentAddress = sellerPaymentAddress
  @uPSRateOption = uPSRateOption
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17159
17160
17161
# File 'lib/eBay.rb', line 17159

def __xmlele_any
  @__xmlele_any
end

#alwaysUseThisPaymentAddressObject

Returns the value of attribute alwaysUseThisPaymentAddress.



17152
17153
17154
# File 'lib/eBay.rb', line 17152

def alwaysUseThisPaymentAddress
  @alwaysUseThisPaymentAddress
end

#defaultPayPalEmailAddressObject

Returns the value of attribute defaultPayPalEmailAddress.



17155
17156
17157
# File 'lib/eBay.rb', line 17155

def defaultPayPalEmailAddress
  @defaultPayPalEmailAddress
end

#displayPayNowButtonObject

Returns the value of attribute displayPayNowButton.



17153
17154
17155
# File 'lib/eBay.rb', line 17153

def displayPayNowButton
  @displayPayNowButton
end

#payPalAlwaysOnObject

Returns the value of attribute payPalAlwaysOn.



17156
17157
17158
# File 'lib/eBay.rb', line 17156

def payPalAlwaysOn
  @payPalAlwaysOn
end

#payPalPreferredObject

Returns the value of attribute payPalPreferred.



17154
17155
17156
# File 'lib/eBay.rb', line 17154

def payPalPreferred
  @payPalPreferred
end

#sellerPaymentAddressObject

Returns the value of attribute sellerPaymentAddress.



17157
17158
17159
# File 'lib/eBay.rb', line 17157

def sellerPaymentAddress
  @sellerPaymentAddress
end

#uPSRateOptionObject

Returns the value of attribute uPSRateOption.



17158
17159
17160
# File 'lib/eBay.rb', line 17158

def uPSRateOption
  @uPSRateOption
end

Instance Method Details

#set_any(elements) ⇒ Object



17161
17162
17163
# File 'lib/eBay.rb', line 17161

def set_any(elements)
  @__xmlele_any = elements
end