Class: DoDirectPaymentRequestDetailsType

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



3241
3242
3243
3244
3245
3246
3247
# File 'lib/v_paypal/default.rb', line 3241

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.



3237
3238
3239
# File 'lib/v_paypal/default.rb', line 3237

def creditCard
  @creditCard
end

#iPAddressObject

Returns the value of attribute iPAddress.



3238
3239
3240
# File 'lib/v_paypal/default.rb', line 3238

def iPAddress
  @iPAddress
end

#merchantSessionIdObject

Returns the value of attribute merchantSessionId.



3239
3240
3241
# File 'lib/v_paypal/default.rb', line 3239

def merchantSessionId
  @merchantSessionId
end

#paymentActionObject

Returns the value of attribute paymentAction.



3235
3236
3237
# File 'lib/v_paypal/default.rb', line 3235

def paymentAction
  @paymentAction
end

#paymentDetailsObject

Returns the value of attribute paymentDetails.



3236
3237
3238
# File 'lib/v_paypal/default.rb', line 3236

def paymentDetails
  @paymentDetails
end