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.



19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
# File 'lib/eBay.rb', line 19535

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.



19529
19530
19531
# File 'lib/eBay.rb', line 19529

def __xmlele_any
  @__xmlele_any
end

#alwaysUseThisPaymentAddressObject

Returns the value of attribute alwaysUseThisPaymentAddress.



19522
19523
19524
# File 'lib/eBay.rb', line 19522

def alwaysUseThisPaymentAddress
  @alwaysUseThisPaymentAddress
end

#defaultPayPalEmailAddressObject

Returns the value of attribute defaultPayPalEmailAddress.



19525
19526
19527
# File 'lib/eBay.rb', line 19525

def defaultPayPalEmailAddress
  @defaultPayPalEmailAddress
end

#displayPayNowButtonObject

Returns the value of attribute displayPayNowButton.



19523
19524
19525
# File 'lib/eBay.rb', line 19523

def displayPayNowButton
  @displayPayNowButton
end

#payPalAlwaysOnObject

Returns the value of attribute payPalAlwaysOn.



19526
19527
19528
# File 'lib/eBay.rb', line 19526

def payPalAlwaysOn
  @payPalAlwaysOn
end

#payPalPreferredObject

Returns the value of attribute payPalPreferred.



19524
19525
19526
# File 'lib/eBay.rb', line 19524

def payPalPreferred
  @payPalPreferred
end

#sellerPaymentAddressObject

Returns the value of attribute sellerPaymentAddress.



19527
19528
19529
# File 'lib/eBay.rb', line 19527

def sellerPaymentAddress
  @sellerPaymentAddress
end

#uPSRateOptionObject

Returns the value of attribute uPSRateOption.



19528
19529
19530
# File 'lib/eBay.rb', line 19528

def uPSRateOption
  @uPSRateOption
end

Instance Method Details

#set_any(elements) ⇒ Object



19531
19532
19533
# File 'lib/eBay.rb', line 19531

def set_any(elements)
  @__xmlele_any = elements
end