Class: SetExpressCheckoutRequestDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/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.



3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'lib/paypal-business/default.rb', line 3292

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.



3288
3289
3290
# File 'lib/paypal-business/default.rb', line 3288

def address
  @address
end

#addressOverrideObject

Returns the value of attribute addressOverride.



3281
3282
3283
# File 'lib/paypal-business/default.rb', line 3281

def addressOverride
  @addressOverride
end

#buyerEmailObject

Returns the value of attribute buyerEmail.



3290
3291
3292
# File 'lib/paypal-business/default.rb', line 3290

def buyerEmail
  @buyerEmail
end

#cancelURLObject

Returns the value of attribute cancelURL.



3273
3274
3275
# File 'lib/paypal-business/default.rb', line 3273

def cancelURL
  @cancelURL
end

#cpp_header_back_colorObject

Returns the value of attribute cpp_header_back_color.



3286
3287
3288
# File 'lib/paypal-business/default.rb', line 3286

def cpp_header_back_color
  @cpp_header_back_color
end

#cpp_header_border_colorObject

Returns the value of attribute cpp_header_border_color.



3285
3286
3287
# File 'lib/paypal-business/default.rb', line 3285

def cpp_header_border_color
  @cpp_header_border_color
end

#cpp_header_imageObject

Returns the value of attribute cpp_header_image.



3284
3285
3286
# File 'lib/paypal-business/default.rb', line 3284

def cpp_header_image
  @cpp_header_image
end

#cpp_payflow_colorObject

Returns the value of attribute cpp_payflow_color.



3287
3288
3289
# File 'lib/paypal-business/default.rb', line 3287

def cpp_payflow_color
  @cpp_payflow_color
end

#customObject

Returns the value of attribute custom.



3277
3278
3279
# File 'lib/paypal-business/default.rb', line 3277

def custom
  @custom
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3278
3279
3280
# File 'lib/paypal-business/default.rb', line 3278

def invoiceID
  @invoiceID
end

#localeCodeObject

Returns the value of attribute localeCode.



3282
3283
3284
# File 'lib/paypal-business/default.rb', line 3282

def localeCode
  @localeCode
end

#maxAmountObject

Returns the value of attribute maxAmount.



3275
3276
3277
# File 'lib/paypal-business/default.rb', line 3275

def maxAmount
  @maxAmount
end

#noShippingObject

Returns the value of attribute noShipping.



3280
3281
3282
# File 'lib/paypal-business/default.rb', line 3280

def noShipping
  @noShipping
end

#orderDescriptionObject

Returns the value of attribute orderDescription.



3276
3277
3278
# File 'lib/paypal-business/default.rb', line 3276

def orderDescription
  @orderDescription
end

#orderTotalObject

Returns the value of attribute orderTotal.



3271
3272
3273
# File 'lib/paypal-business/default.rb', line 3271

def orderTotal
  @orderTotal
end

#pageStyleObject

Returns the value of attribute pageStyle.



3283
3284
3285
# File 'lib/paypal-business/default.rb', line 3283

def pageStyle
  @pageStyle
end

#paymentActionObject

Returns the value of attribute paymentAction.



3289
3290
3291
# File 'lib/paypal-business/default.rb', line 3289

def paymentAction
  @paymentAction
end

#reqConfirmShippingObject

Returns the value of attribute reqConfirmShipping.



3279
3280
3281
# File 'lib/paypal-business/default.rb', line 3279

def reqConfirmShipping
  @reqConfirmShipping
end

#returnURLObject

Returns the value of attribute returnURL.



3272
3273
3274
# File 'lib/paypal-business/default.rb', line 3272

def returnURL
  @returnURL
end

#tokenObject

Returns the value of attribute token.



3274
3275
3276
# File 'lib/paypal-business/default.rb', line 3274

def token
  @token
end