Class: RefundTransactionResponseType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, refundTransactionID = nil, netRefundAmount = nil, feeRefundAmount = nil, grossRefundAmount = nil)
  @timestamp = 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_anyObject (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

#ackObject

Returns the value of attribute ack.



337
338
339
# File 'lib/paypal-business/default.rb', line 337

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



341
342
343
# File 'lib/paypal-business/default.rb', line 341

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



338
339
340
# File 'lib/paypal-business/default.rb', line 338

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



339
340
341
# File 'lib/paypal-business/default.rb', line 339

def errors
  @errors
end

#feeRefundAmountObject

Returns the value of attribute feeRefundAmount.



345
346
347
# File 'lib/paypal-business/default.rb', line 345

def feeRefundAmount
  @feeRefundAmount
end

#grossRefundAmountObject

Returns the value of attribute grossRefundAmount.



346
347
348
# File 'lib/paypal-business/default.rb', line 346

def grossRefundAmount
  @grossRefundAmount
end

#netRefundAmountObject

Returns the value of attribute netRefundAmount.



344
345
346
# File 'lib/paypal-business/default.rb', line 344

def netRefundAmount
  @netRefundAmount
end

#refundTransactionIDObject

Returns the value of attribute refundTransactionID.



343
344
345
# File 'lib/paypal-business/default.rb', line 343

def refundTransactionID
  @refundTransactionID
end

#timestampObject

Returns the value of attribute timestamp.



336
337
338
# File 'lib/paypal-business/default.rb', line 336

def timestamp
  @timestamp
end

#versionObject

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