Class: RefundTransactionRequestType

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

Overview

urn:ebay:api:PayPalAPIRefundTransactionRequestType

Constant Summary collapse

@@schema_type =
"RefundTransactionRequestType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]],
  ["refundType", ["RefundPurposeTypeCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "RefundType")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]],
  ["memo", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Memo")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, transactionID = nil, refundType = nil, amount = nil, memo = nil) ⇒ RefundTransactionRequestType

Returns a new instance of RefundTransactionRequestType.



305
306
307
308
309
310
311
312
313
314
315
# File 'lib/paypal-business/default.rb', line 305

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, transactionID = nil, refundType = nil, amount = nil, memo = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @transactionID = transactionID
  @refundType = refundType
  @amount = amount
  @memo = memo
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



295
296
297
# File 'lib/paypal-business/default.rb', line 295

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



298
299
300
# File 'lib/paypal-business/default.rb', line 298

def amount
  @amount
end

#detailLevelObject

Returns the value of attribute detailLevel.



291
292
293
# File 'lib/paypal-business/default.rb', line 291

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



292
293
294
# File 'lib/paypal-business/default.rb', line 292

def errorLanguage
  @errorLanguage
end

#memoObject

Returns the value of attribute memo.



299
300
301
# File 'lib/paypal-business/default.rb', line 299

def memo
  @memo
end

#messageIDObject

Returns the value of attribute messageID.



293
294
295
# File 'lib/paypal-business/default.rb', line 293

def messageID
  @messageID
end

#refundTypeObject

Returns the value of attribute refundType.



297
298
299
# File 'lib/paypal-business/default.rb', line 297

def refundType
  @refundType
end

#transactionIDObject

Returns the value of attribute transactionID.



296
297
298
# File 'lib/paypal-business/default.rb', line 296

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



294
295
296
# File 'lib/paypal-business/default.rb', line 294

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



301
302
303
# File 'lib/paypal-business/default.rb', line 301

def set_any(elements)
  @__xmlele_any = elements
end