Class: TransactionType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsTransactionType

Constant Summary collapse

@@schema_type =
"TransactionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["amountPaid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AmountPaid")]],
  ["buyer", ["UserType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Buyer")]],
  ["shippingDetails", ["ShippingDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingDetails")]],
  ["convertedAmountPaid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ConvertedAmountPaid")]],
  ["convertedTransactionPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ConvertedTransactionPrice")]],
  ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreatedDate")]],
  ["depositType", ["DepositTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DepositType")]],
  ["item", ["ItemType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Item")]],
  ["quantityPurchased", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "QuantityPurchased")]],
  ["shippingHandlingTotal", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingHandlingTotal")]],
  ["status", ["TransactionStatusType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AuthorizationID")]],
  ["transactionPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionPrice")]],
  ["vATPercent", ["SOAP::SOAPDecimal", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "VATPercent")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amountPaid = nil, buyer = nil, shippingDetails = nil, convertedAmountPaid = nil, convertedTransactionPrice = nil, createdDate = nil, depositType = nil, item = nil, quantityPurchased = nil, shippingHandlingTotal = nil, status = nil, transactionID = nil, authorizationID = nil, transactionPrice = nil, vATPercent = nil) ⇒ TransactionType

Returns a new instance of TransactionType.



2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
# File 'lib/v_paypal/default.rb', line 2582

def initialize(amountPaid = nil, buyer = nil, shippingDetails = nil, convertedAmountPaid = nil, convertedTransactionPrice = nil, createdDate = nil, depositType = nil, item = nil, quantityPurchased = nil, shippingHandlingTotal = nil, status = nil, transactionID = nil, authorizationID = nil, transactionPrice = nil, vATPercent = nil)
  @amountPaid = amountPaid
  @buyer = buyer
  @shippingDetails = shippingDetails
  @convertedAmountPaid = convertedAmountPaid
  @convertedTransactionPrice = convertedTransactionPrice
  @createdDate = createdDate
  @depositType = depositType
  @item = item
  @quantityPurchased = quantityPurchased
  @shippingHandlingTotal = shippingHandlingTotal
  @status = status
  @transactionID = transactionID
  @authorizationID = authorizationID
  @transactionPrice = transactionPrice
  @vATPercent = vATPercent
end

Instance Attribute Details

#amountPaidObject

Returns the value of attribute amountPaid.



2566
2567
2568
# File 'lib/v_paypal/default.rb', line 2566

def amountPaid
  @amountPaid
end

#authorizationIDObject

Returns the value of attribute authorizationID.



2578
2579
2580
# File 'lib/v_paypal/default.rb', line 2578

def authorizationID
  @authorizationID
end

#buyerObject

Returns the value of attribute buyer.



2567
2568
2569
# File 'lib/v_paypal/default.rb', line 2567

def buyer
  @buyer
end

#convertedAmountPaidObject

Returns the value of attribute convertedAmountPaid.



2569
2570
2571
# File 'lib/v_paypal/default.rb', line 2569

def convertedAmountPaid
  @convertedAmountPaid
end

#convertedTransactionPriceObject

Returns the value of attribute convertedTransactionPrice.



2570
2571
2572
# File 'lib/v_paypal/default.rb', line 2570

def convertedTransactionPrice
  @convertedTransactionPrice
end

#createdDateObject

Returns the value of attribute createdDate.



2571
2572
2573
# File 'lib/v_paypal/default.rb', line 2571

def createdDate
  @createdDate
end

#depositTypeObject

Returns the value of attribute depositType.



2572
2573
2574
# File 'lib/v_paypal/default.rb', line 2572

def depositType
  @depositType
end

#itemObject

Returns the value of attribute item.



2573
2574
2575
# File 'lib/v_paypal/default.rb', line 2573

def item
  @item
end

#quantityPurchasedObject

Returns the value of attribute quantityPurchased.



2574
2575
2576
# File 'lib/v_paypal/default.rb', line 2574

def quantityPurchased
  @quantityPurchased
end

#shippingDetailsObject

Returns the value of attribute shippingDetails.



2568
2569
2570
# File 'lib/v_paypal/default.rb', line 2568

def shippingDetails
  @shippingDetails
end

#shippingHandlingTotalObject

Returns the value of attribute shippingHandlingTotal.



2575
2576
2577
# File 'lib/v_paypal/default.rb', line 2575

def shippingHandlingTotal
  @shippingHandlingTotal
end

#statusObject

Returns the value of attribute status.



2576
2577
2578
# File 'lib/v_paypal/default.rb', line 2576

def status
  @status
end

#transactionIDObject

Returns the value of attribute transactionID.



2577
2578
2579
# File 'lib/v_paypal/default.rb', line 2577

def transactionID
  @transactionID
end

#transactionPriceObject

Returns the value of attribute transactionPrice.



2579
2580
2581
# File 'lib/v_paypal/default.rb', line 2579

def transactionPrice
  @transactionPrice
end

#vATPercentObject

Returns the value of attribute vATPercent.



2580
2581
2582
# File 'lib/v_paypal/default.rb', line 2580

def vATPercent
  @vATPercent
end