Class: DoDirectPaymentRequestDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsDoDirectPaymentRequestDetailsType

Constant Summary collapse

@@schema_type =
"DoDirectPaymentRequestDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["paymentAction", ["PaymentActionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentAction")]],
  ["paymentDetails", ["PaymentDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentDetails")]],
  ["creditCard", ["CreditCardDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreditCard")]],
  ["iPAddress", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "IPAddress")]],
  ["merchantSessionId", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MerchantSessionId")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paymentAction = nil, paymentDetails = nil, creditCard = nil, iPAddress = nil, merchantSessionId = nil) ⇒ DoDirectPaymentRequestDetailsType

Returns a new instance of DoDirectPaymentRequestDetailsType.



3421
3422
3423
3424
3425
3426
3427
# File 'lib/paypal-business/default.rb', line 3421

def initialize(paymentAction = nil, paymentDetails = nil, creditCard = nil, iPAddress = nil, merchantSessionId = nil)
  @paymentAction = paymentAction
  @paymentDetails = paymentDetails
  @creditCard = creditCard
  @iPAddress = iPAddress
  @merchantSessionId = merchantSessionId
end

Instance Attribute Details

#creditCardObject

Returns the value of attribute creditCard.



3417
3418
3419
# File 'lib/paypal-business/default.rb', line 3417

def creditCard
  @creditCard
end

#iPAddressObject

Returns the value of attribute iPAddress.



3418
3419
3420
# File 'lib/paypal-business/default.rb', line 3418

def iPAddress
  @iPAddress
end

#merchantSessionIdObject

Returns the value of attribute merchantSessionId.



3419
3420
3421
# File 'lib/paypal-business/default.rb', line 3419

def merchantSessionId
  @merchantSessionId
end

#paymentActionObject

Returns the value of attribute paymentAction.



3415
3416
3417
# File 'lib/paypal-business/default.rb', line 3415

def paymentAction
  @paymentAction
end

#paymentDetailsObject

Returns the value of attribute paymentDetails.



3416
3417
3418
# File 'lib/paypal-business/default.rb', line 3416

def paymentDetails
  @paymentDetails
end