Class: PaymentInfoType

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

Overview

urn:ebay:apis:eBLBaseComponentsPaymentInfoType

Constant Summary collapse

@@schema_type =
"PaymentInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["parentTransactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ParentTransactionID")]],
  ["receiptID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReceiptID")]],
  ["transactionType", ["PaymentTransactionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionType")]],
  ["paymentType", ["PaymentCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentType")]],
  ["paymentDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentDate")]],
  ["grossAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GrossAmount")]],
  ["feeAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FeeAmount")]],
  ["settleAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SettleAmount")]],
  ["taxAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TaxAmount")]],
  ["exchangeRate", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExchangeRate")]],
  ["paymentStatus", ["PaymentStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentStatus")]],
  ["pendingReason", ["PendingStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PendingReason")]],
  ["reasonCode", ["ReversalReasonCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReasonCode")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transactionID = nil, parentTransactionID = nil, receiptID = nil, transactionType = nil, paymentType = nil, paymentDate = nil, grossAmount = nil, feeAmount = nil, settleAmount = nil, taxAmount = nil, exchangeRate = nil, paymentStatus = nil, pendingReason = nil, reasonCode = nil) ⇒ PaymentInfoType

Returns a new instance of PaymentInfoType.



3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
# File 'lib/paypal-business/default.rb', line 3715

def initialize(transactionID = nil, parentTransactionID = nil, receiptID = nil, transactionType = nil, paymentType = nil, paymentDate = nil, grossAmount = nil, feeAmount = nil, settleAmount = nil, taxAmount = nil, exchangeRate = nil, paymentStatus = nil, pendingReason = nil, reasonCode = nil)
  @transactionID = transactionID
  @parentTransactionID = parentTransactionID
  @receiptID = receiptID
  @transactionType = transactionType
  @paymentType = paymentType
  @paymentDate = paymentDate
  @grossAmount = grossAmount
  @feeAmount = feeAmount
  @settleAmount = settleAmount
  @taxAmount = taxAmount
  @exchangeRate = exchangeRate
  @paymentStatus = paymentStatus
  @pendingReason = pendingReason
  @reasonCode = reasonCode
end

Instance Attribute Details

#exchangeRateObject

Returns the value of attribute exchangeRate.



3710
3711
3712
# File 'lib/paypal-business/default.rb', line 3710

def exchangeRate
  @exchangeRate
end

#feeAmountObject

Returns the value of attribute feeAmount.



3707
3708
3709
# File 'lib/paypal-business/default.rb', line 3707

def feeAmount
  @feeAmount
end

#grossAmountObject

Returns the value of attribute grossAmount.



3706
3707
3708
# File 'lib/paypal-business/default.rb', line 3706

def grossAmount
  @grossAmount
end

#parentTransactionIDObject

Returns the value of attribute parentTransactionID.



3701
3702
3703
# File 'lib/paypal-business/default.rb', line 3701

def parentTransactionID
  @parentTransactionID
end

#paymentDateObject

Returns the value of attribute paymentDate.



3705
3706
3707
# File 'lib/paypal-business/default.rb', line 3705

def paymentDate
  @paymentDate
end

#paymentStatusObject

Returns the value of attribute paymentStatus.



3711
3712
3713
# File 'lib/paypal-business/default.rb', line 3711

def paymentStatus
  @paymentStatus
end

#paymentTypeObject

Returns the value of attribute paymentType.



3704
3705
3706
# File 'lib/paypal-business/default.rb', line 3704

def paymentType
  @paymentType
end

#pendingReasonObject

Returns the value of attribute pendingReason.



3712
3713
3714
# File 'lib/paypal-business/default.rb', line 3712

def pendingReason
  @pendingReason
end

#reasonCodeObject

Returns the value of attribute reasonCode.



3713
3714
3715
# File 'lib/paypal-business/default.rb', line 3713

def reasonCode
  @reasonCode
end

#receiptIDObject

Returns the value of attribute receiptID.



3702
3703
3704
# File 'lib/paypal-business/default.rb', line 3702

def receiptID
  @receiptID
end

#settleAmountObject

Returns the value of attribute settleAmount.



3708
3709
3710
# File 'lib/paypal-business/default.rb', line 3708

def settleAmount
  @settleAmount
end

#taxAmountObject

Returns the value of attribute taxAmount.



3709
3710
3711
# File 'lib/paypal-business/default.rb', line 3709

def taxAmount
  @taxAmount
end

#transactionIDObject

Returns the value of attribute transactionID.



3700
3701
3702
# File 'lib/paypal-business/default.rb', line 3700

def transactionID
  @transactionID
end

#transactionTypeObject

Returns the value of attribute transactionType.



3703
3704
3705
# File 'lib/paypal-business/default.rb', line 3703

def transactionType
  @transactionType
end