Class: RefundTransactionRequestType

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



273
274
275
276
277
278
279
280
281
282
283
# File 'lib/v_paypal/default.rb', line 273

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.



263
264
265
# File 'lib/v_paypal/default.rb', line 263

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



266
267
268
# File 'lib/v_paypal/default.rb', line 266

def amount
  @amount
end

#detailLevelObject

Returns the value of attribute detailLevel.



259
260
261
# File 'lib/v_paypal/default.rb', line 259

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



260
261
262
# File 'lib/v_paypal/default.rb', line 260

def errorLanguage
  @errorLanguage
end

#memoObject

Returns the value of attribute memo.



267
268
269
# File 'lib/v_paypal/default.rb', line 267

def memo
  @memo
end

#messageIDObject

Returns the value of attribute messageID.



261
262
263
# File 'lib/v_paypal/default.rb', line 261

def messageID
  @messageID
end

#refundTypeObject

Returns the value of attribute refundType.



265
266
267
# File 'lib/v_paypal/default.rb', line 265

def refundType
  @refundType
end

#transactionIDObject

Returns the value of attribute transactionID.



264
265
266
# File 'lib/v_paypal/default.rb', line 264

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



262
263
264
# File 'lib/v_paypal/default.rb', line 262

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



269
270
271
# File 'lib/v_paypal/default.rb', line 269

def set_any(elements)
  @__xmlele_any = elements
end