Class: DoAuthorizationResponseType

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

Overview

urn:ebay:api:PayPalAPIDoAuthorizationResponseType

Constant Summary collapse

@@schema_type =
"DoAuthorizationResponseType"
@@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")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, transactionID = nil, amount = nil) ⇒ DoAuthorizationResponseType

Returns a new instance of DoAuthorizationResponseType.



1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
# File 'lib/paypal-business/default.rb', line 1667

def initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, transactionID = nil, amount = nil)
  @timestamp = timestamp
  @ack = ack
  @correlationID = correlationID
  @errors = errors
  @version = version
  @build = build
  @__xmlele_any = nil
  @transactionID = transactionID
  @amount = amount
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1659
1660
1661
# File 'lib/paypal-business/default.rb', line 1659

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1654
1655
1656
# File 'lib/paypal-business/default.rb', line 1654

def ack
  @ack
end

#amountObject

Returns the value of attribute amount.



1661
1662
1663
# File 'lib/paypal-business/default.rb', line 1661

def amount
  @amount
end

#buildObject

Returns the value of attribute build.



1658
1659
1660
# File 'lib/paypal-business/default.rb', line 1658

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1655
1656
1657
# File 'lib/paypal-business/default.rb', line 1655

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



1656
1657
1658
# File 'lib/paypal-business/default.rb', line 1656

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1653
1654
1655
# File 'lib/paypal-business/default.rb', line 1653

def timestamp
  @timestamp
end

#transactionIDObject

Returns the value of attribute transactionID.



1660
1661
1662
# File 'lib/paypal-business/default.rb', line 1660

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



1657
1658
1659
# File 'lib/paypal-business/default.rb', line 1657

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1663
1664
1665
# File 'lib/paypal-business/default.rb', line 1663

def set_any(elements)
  @__xmlele_any = elements
end