Class: RefundTransactionResponseType
- Inherits:
-
Object
- Object
- RefundTransactionResponseType
- Defined in:
- lib/paypal-business/default.rb
Overview
urn:ebay:api:PayPalAPIRefundTransactionResponseType
Constant Summary collapse
- @@schema_type =
"RefundTransactionResponseType"
- @@schema_ns =
"urn:ebay:api:PayPalAPI"
- @@schema_element =
[ ["timestamp", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Timestamp")]], ["ack", ["AckCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Ack")]], ["correlationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CorrelationID")]], ["errors", ["ErrorType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Errors")]], ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]], ["build", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Build")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]], ["refundTransactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "RefundTransactionID")]], ["netRefundAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "NetRefundAmount")]], ["feeRefundAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "FeeRefundAmount")]], ["grossRefundAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "GrossRefundAmount")]] ]
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#ack ⇒ Object
Returns the value of attribute ack.
-
#build ⇒ Object
Returns the value of attribute build.
-
#correlationID ⇒ Object
Returns the value of attribute correlationID.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#feeRefundAmount ⇒ Object
Returns the value of attribute feeRefundAmount.
-
#grossRefundAmount ⇒ Object
Returns the value of attribute grossRefundAmount.
-
#netRefundAmount ⇒ Object
Returns the value of attribute netRefundAmount.
-
#refundTransactionID ⇒ Object
Returns the value of attribute refundTransactionID.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, refundTransactionID = nil, netRefundAmount = nil, feeRefundAmount = nil, grossRefundAmount = nil) ⇒ RefundTransactionResponseType
constructor
A new instance of RefundTransactionResponseType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, refundTransactionID = nil, netRefundAmount = nil, feeRefundAmount = nil, grossRefundAmount = nil) ⇒ RefundTransactionResponseType
Returns a new instance of RefundTransactionResponseType.
352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'lib/paypal-business/default.rb', line 352 def initialize( = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, refundTransactionID = nil, netRefundAmount = nil, feeRefundAmount = nil, grossRefundAmount = nil) @timestamp = @ack = ack @correlationID = correlationID @errors = errors @version = version @build = build @__xmlele_any = nil @refundTransactionID = refundTransactionID @netRefundAmount = netRefundAmount @feeRefundAmount = feeRefundAmount @grossRefundAmount = grossRefundAmount end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
342 343 344 |
# File 'lib/paypal-business/default.rb', line 342 def __xmlele_any @__xmlele_any end |
#ack ⇒ Object
Returns the value of attribute ack.
337 338 339 |
# File 'lib/paypal-business/default.rb', line 337 def ack @ack end |
#build ⇒ Object
Returns the value of attribute build.
341 342 343 |
# File 'lib/paypal-business/default.rb', line 341 def build @build end |
#correlationID ⇒ Object
Returns the value of attribute correlationID.
338 339 340 |
# File 'lib/paypal-business/default.rb', line 338 def correlationID @correlationID end |
#errors ⇒ Object
Returns the value of attribute errors.
339 340 341 |
# File 'lib/paypal-business/default.rb', line 339 def errors @errors end |
#feeRefundAmount ⇒ Object
Returns the value of attribute feeRefundAmount.
345 346 347 |
# File 'lib/paypal-business/default.rb', line 345 def feeRefundAmount @feeRefundAmount end |
#grossRefundAmount ⇒ Object
Returns the value of attribute grossRefundAmount.
346 347 348 |
# File 'lib/paypal-business/default.rb', line 346 def grossRefundAmount @grossRefundAmount end |
#netRefundAmount ⇒ Object
Returns the value of attribute netRefundAmount.
344 345 346 |
# File 'lib/paypal-business/default.rb', line 344 def netRefundAmount @netRefundAmount end |
#refundTransactionID ⇒ Object
Returns the value of attribute refundTransactionID.
343 344 345 |
# File 'lib/paypal-business/default.rb', line 343 def refundTransactionID @refundTransactionID end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
336 337 338 |
# File 'lib/paypal-business/default.rb', line 336 def @timestamp end |
#version ⇒ Object
Returns the value of attribute version.
340 341 342 |
# File 'lib/paypal-business/default.rb', line 340 def version @version end |
Instance Method Details
#set_any(elements) ⇒ Object
348 349 350 |
# File 'lib/paypal-business/default.rb', line 348 def set_any(elements) @__xmlele_any = elements end |