Class: ChannelAdvisor::OrderServiceSOAP::PaymentInfo

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

Overview

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

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

Direct Known Subclasses

PaymentInfoResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PaymentInfo.



437
438
439
440
441
442
443
# File 'lib/channel_advisor/order_service/types.rb', line 437

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.



432
433
434
# File 'lib/channel_advisor/order_service/types.rb', line 432

def creditCardLast4
  @creditCardLast4
end

#merchantReferenceNumberObject

Returns the value of attribute merchantReferenceNumber.



434
435
436
# File 'lib/channel_advisor/order_service/types.rb', line 434

def merchantReferenceNumber
  @merchantReferenceNumber
end

#paymentTransactionIDObject

Returns the value of attribute paymentTransactionID.



435
436
437
# File 'lib/channel_advisor/order_service/types.rb', line 435

def paymentTransactionID
  @paymentTransactionID
end

#paymentTypeObject

Returns the value of attribute paymentType.



431
432
433
# File 'lib/channel_advisor/order_service/types.rb', line 431

def paymentType
  @paymentType
end

#payPalIDObject

Returns the value of attribute payPalID.



433
434
435
# File 'lib/channel_advisor/order_service/types.rb', line 433

def payPalID
  @payPalID
end