Class: SetExpressCheckoutRequestDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsSetExpressCheckoutRequestDetailsType

Constant Summary collapse

@@schema_type =
"SetExpressCheckoutRequestDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["orderTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderTotal")]],
  ["returnURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReturnURL")]],
  ["cancelURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CancelURL")]],
  ["token", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Token")]],
  ["maxAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxAmount")]],
  ["orderDescription", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderDescription")]],
  ["custom", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Custom")]],
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvoiceID")]],
  ["reqConfirmShipping", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReqConfirmShipping")]],
  ["noShipping", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NoShipping")]],
  ["addressOverride", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressOverride")]],
  ["localeCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LocaleCode")]],
  ["pageStyle", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PageStyle")]],
  ["cpp_header_image", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "cpp-header-image")]],
  ["cpp_header_border_color", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "cpp-header-border-color")]],
  ["cpp_header_back_color", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "cpp-header-back-color")]],
  ["cpp_payflow_color", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "cpp-payflow-color")]],
  ["address", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Address")]],
  ["paymentAction", ["PaymentActionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentAction")]],
  ["buyerEmail", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BuyerEmail")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderTotal = nil, returnURL = nil, cancelURL = nil, token = nil, maxAmount = nil, orderDescription = nil, custom = nil, invoiceID = nil, reqConfirmShipping = nil, noShipping = nil, addressOverride = nil, localeCode = nil, pageStyle = nil, cpp_header_image = nil, cpp_header_border_color = nil, cpp_header_back_color = nil, cpp_payflow_color = nil, address = nil, paymentAction = nil, buyerEmail = nil) ⇒ SetExpressCheckoutRequestDetailsType

Returns a new instance of SetExpressCheckoutRequestDetailsType.



3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
# File 'lib/v_paypal/default.rb', line 3112

def initialize(orderTotal = nil, returnURL = nil, cancelURL = nil, token = nil, maxAmount = nil, orderDescription = nil, custom = nil, invoiceID = nil, reqConfirmShipping = nil, noShipping = nil, addressOverride = nil, localeCode = nil, pageStyle = nil, cpp_header_image = nil, cpp_header_border_color = nil, cpp_header_back_color = nil, cpp_payflow_color = nil, address = nil, paymentAction = nil, buyerEmail = nil)
  @orderTotal = orderTotal
  @returnURL = returnURL
  @cancelURL = cancelURL
  @token = token
  @maxAmount = maxAmount
  @orderDescription = orderDescription
  @custom = custom
  @invoiceID = invoiceID
  @reqConfirmShipping = reqConfirmShipping
  @noShipping = noShipping
  @addressOverride = addressOverride
  @localeCode = localeCode
  @pageStyle = pageStyle
  @cpp_header_image = cpp_header_image
  @cpp_header_border_color = cpp_header_border_color
  @cpp_header_back_color = cpp_header_back_color
  @cpp_payflow_color = cpp_payflow_color
  @address = address
  @paymentAction = paymentAction
  @buyerEmail = buyerEmail
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



3108
3109
3110
# File 'lib/v_paypal/default.rb', line 3108

def address
  @address
end

#addressOverrideObject

Returns the value of attribute addressOverride.



3101
3102
3103
# File 'lib/v_paypal/default.rb', line 3101

def addressOverride
  @addressOverride
end

#buyerEmailObject

Returns the value of attribute buyerEmail.



3110
3111
3112
# File 'lib/v_paypal/default.rb', line 3110

def buyerEmail
  @buyerEmail
end

#cancelURLObject

Returns the value of attribute cancelURL.



3093
3094
3095
# File 'lib/v_paypal/default.rb', line 3093

def cancelURL
  @cancelURL
end

#cpp_header_back_colorObject

Returns the value of attribute cpp_header_back_color.



3106
3107
3108
# File 'lib/v_paypal/default.rb', line 3106

def cpp_header_back_color
  @cpp_header_back_color
end

#cpp_header_border_colorObject

Returns the value of attribute cpp_header_border_color.



3105
3106
3107
# File 'lib/v_paypal/default.rb', line 3105

def cpp_header_border_color
  @cpp_header_border_color
end

#cpp_header_imageObject

Returns the value of attribute cpp_header_image.



3104
3105
3106
# File 'lib/v_paypal/default.rb', line 3104

def cpp_header_image
  @cpp_header_image
end

#cpp_payflow_colorObject

Returns the value of attribute cpp_payflow_color.



3107
3108
3109
# File 'lib/v_paypal/default.rb', line 3107

def cpp_payflow_color
  @cpp_payflow_color
end

#customObject

Returns the value of attribute custom.



3097
3098
3099
# File 'lib/v_paypal/default.rb', line 3097

def custom
  @custom
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3098
3099
3100
# File 'lib/v_paypal/default.rb', line 3098

def invoiceID
  @invoiceID
end

#localeCodeObject

Returns the value of attribute localeCode.



3102
3103
3104
# File 'lib/v_paypal/default.rb', line 3102

def localeCode
  @localeCode
end

#maxAmountObject

Returns the value of attribute maxAmount.



3095
3096
3097
# File 'lib/v_paypal/default.rb', line 3095

def maxAmount
  @maxAmount
end

#noShippingObject

Returns the value of attribute noShipping.



3100
3101
3102
# File 'lib/v_paypal/default.rb', line 3100

def noShipping
  @noShipping
end

#orderDescriptionObject

Returns the value of attribute orderDescription.



3096
3097
3098
# File 'lib/v_paypal/default.rb', line 3096

def orderDescription
  @orderDescription
end

#orderTotalObject

Returns the value of attribute orderTotal.



3091
3092
3093
# File 'lib/v_paypal/default.rb', line 3091

def orderTotal
  @orderTotal
end

#pageStyleObject

Returns the value of attribute pageStyle.



3103
3104
3105
# File 'lib/v_paypal/default.rb', line 3103

def pageStyle
  @pageStyle
end

#paymentActionObject

Returns the value of attribute paymentAction.



3109
3110
3111
# File 'lib/v_paypal/default.rb', line 3109

def paymentAction
  @paymentAction
end

#reqConfirmShippingObject

Returns the value of attribute reqConfirmShipping.



3099
3100
3101
# File 'lib/v_paypal/default.rb', line 3099

def reqConfirmShipping
  @reqConfirmShipping
end

#returnURLObject

Returns the value of attribute returnURL.



3092
3093
3094
# File 'lib/v_paypal/default.rb', line 3092

def returnURL
  @returnURL
end

#tokenObject

Returns the value of attribute token.



3094
3095
3096
# File 'lib/v_paypal/default.rb', line 3094

def token
  @token
end