Class: RefundTransactionResponseType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



320
321
322
323
324
325
326
327
328
329
330
331
332
# File 'lib/v_paypal/default.rb', line 320

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.



310
311
312
# File 'lib/v_paypal/default.rb', line 310

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



305
306
307
# File 'lib/v_paypal/default.rb', line 305

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



309
310
311
# File 'lib/v_paypal/default.rb', line 309

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



306
307
308
# File 'lib/v_paypal/default.rb', line 306

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



307
308
309
# File 'lib/v_paypal/default.rb', line 307

def errors
  @errors
end

#feeRefundAmountObject

Returns the value of attribute feeRefundAmount.



313
314
315
# File 'lib/v_paypal/default.rb', line 313

def feeRefundAmount
  @feeRefundAmount
end

#grossRefundAmountObject

Returns the value of attribute grossRefundAmount.



314
315
316
# File 'lib/v_paypal/default.rb', line 314

def grossRefundAmount
  @grossRefundAmount
end

#netRefundAmountObject

Returns the value of attribute netRefundAmount.



312
313
314
# File 'lib/v_paypal/default.rb', line 312

def netRefundAmount
  @netRefundAmount
end

#refundTransactionIDObject

Returns the value of attribute refundTransactionID.



311
312
313
# File 'lib/v_paypal/default.rb', line 311

def refundTransactionID
  @refundTransactionID
end

#timestampObject

Returns the value of attribute timestamp.



304
305
306
# File 'lib/v_paypal/default.rb', line 304

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



308
309
310
# File 'lib/v_paypal/default.rb', line 308

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



316
317
318
# File 'lib/v_paypal/default.rb', line 316

def set_any(elements)
  @__xmlele_any = elements
end