Class: RefundTransactionResponseType
- Inherits:
-
Object
- Object
- RefundTransactionResponseType
- 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
-
#__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.
320 321 322 323 324 325 326 327 328 329 330 331 332 |
# File 'lib/v_paypal/default.rb', line 320 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.
310 311 312 |
# File 'lib/v_paypal/default.rb', line 310 def __xmlele_any @__xmlele_any end |
#ack ⇒ Object
Returns the value of attribute ack.
305 306 307 |
# File 'lib/v_paypal/default.rb', line 305 def ack @ack end |
#build ⇒ Object
Returns the value of attribute build.
309 310 311 |
# File 'lib/v_paypal/default.rb', line 309 def build @build end |
#correlationID ⇒ Object
Returns the value of attribute correlationID.
306 307 308 |
# File 'lib/v_paypal/default.rb', line 306 def correlationID @correlationID end |
#errors ⇒ Object
Returns the value of attribute errors.
307 308 309 |
# File 'lib/v_paypal/default.rb', line 307 def errors @errors end |
#feeRefundAmount ⇒ Object
Returns the value of attribute feeRefundAmount.
313 314 315 |
# File 'lib/v_paypal/default.rb', line 313 def feeRefundAmount @feeRefundAmount end |
#grossRefundAmount ⇒ Object
Returns the value of attribute grossRefundAmount.
314 315 316 |
# File 'lib/v_paypal/default.rb', line 314 def grossRefundAmount @grossRefundAmount end |
#netRefundAmount ⇒ Object
Returns the value of attribute netRefundAmount.
312 313 314 |
# File 'lib/v_paypal/default.rb', line 312 def netRefundAmount @netRefundAmount end |
#refundTransactionID ⇒ Object
Returns the value of attribute refundTransactionID.
311 312 313 |
# File 'lib/v_paypal/default.rb', line 311 def refundTransactionID @refundTransactionID end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
304 305 306 |
# File 'lib/v_paypal/default.rb', line 304 def @timestamp end |
#version ⇒ Object
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 |