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.



22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
# File 'lib/eBay.rb', line 22052

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.



22046
22047
22048
# File 'lib/eBay.rb', line 22046

def __xmlele_any
  @__xmlele_any
end

#alwaysUseThisPaymentAddressObject

Returns the value of attribute alwaysUseThisPaymentAddress.



22039
22040
22041
# File 'lib/eBay.rb', line 22039

def alwaysUseThisPaymentAddress
  @alwaysUseThisPaymentAddress
end

#defaultPayPalEmailAddressObject

Returns the value of attribute defaultPayPalEmailAddress.



22042
22043
22044
# File 'lib/eBay.rb', line 22042

def defaultPayPalEmailAddress
  @defaultPayPalEmailAddress
end

#displayPayNowButtonObject

Returns the value of attribute displayPayNowButton.



22040
22041
22042
# File 'lib/eBay.rb', line 22040

def displayPayNowButton
  @displayPayNowButton
end

#payPalAlwaysOnObject

Returns the value of attribute payPalAlwaysOn.



22043
22044
22045
# File 'lib/eBay.rb', line 22043

def payPalAlwaysOn
  @payPalAlwaysOn
end

#payPalPreferredObject

Returns the value of attribute payPalPreferred.



22041
22042
22043
# File 'lib/eBay.rb', line 22041

def payPalPreferred
  @payPalPreferred
end

#sellerPaymentAddressObject

Returns the value of attribute sellerPaymentAddress.



22044
22045
22046
# File 'lib/eBay.rb', line 22044

def sellerPaymentAddress
  @sellerPaymentAddress
end

#uPSRateOptionObject

Returns the value of attribute uPSRateOption.



22045
22046
22047
# File 'lib/eBay.rb', line 22045

def uPSRateOption
  @uPSRateOption
end

Instance Method Details

#set_any(elements) ⇒ Object



22048
22049
22050
# File 'lib/eBay.rb', line 22048

def set_any(elements)
  @__xmlele_any = elements
end