Class: ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse

Inherits:
PaymentInfo
  • Object
show all
Defined in:
lib/channel_advisor/order_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersPaymentInfoResponse

paymentType - SOAP::SOAPString
creditCardLast4 - SOAP::SOAPString
payPalID - SOAP::SOAPString
merchantReferenceNumber - SOAP::SOAPString
paymentTransactionID - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil) ⇒ PaymentInfoResponse

Returns a new instance of PaymentInfoResponse


460
461
462
463
464
465
466
# File 'lib/channel_advisor/order_service/types.rb', line 460

def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil)
  @paymentType = paymentType
  @creditCardLast4 = creditCardLast4
  @payPalID = payPalID
  @merchantReferenceNumber = merchantReferenceNumber
  @paymentTransactionID = paymentTransactionID
end

Instance Attribute Details

#creditCardLast4Object

Returns the value of attribute creditCardLast4


455
456
457
# File 'lib/channel_advisor/order_service/types.rb', line 455

def creditCardLast4
  @creditCardLast4
end

#merchantReferenceNumberObject

Returns the value of attribute merchantReferenceNumber


457
458
459
# File 'lib/channel_advisor/order_service/types.rb', line 457

def merchantReferenceNumber
  @merchantReferenceNumber
end

#paymentTransactionIDObject

Returns the value of attribute paymentTransactionID


458
459
460
# File 'lib/channel_advisor/order_service/types.rb', line 458

def paymentTransactionID
  @paymentTransactionID
end

#paymentTypeObject

Returns the value of attribute paymentType


454
455
456
# File 'lib/channel_advisor/order_service/types.rb', line 454

def paymentType
  @paymentType
end

#payPalIDObject

Returns the value of attribute payPalID


456
457
458
# File 'lib/channel_advisor/order_service/types.rb', line 456

def payPalID
  @payPalID
end