Class: SetExpressCheckoutResponseType

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

Overview

urn:ebay:api:PayPalAPISetExpressCheckoutResponseType

Constant Summary collapse

@@schema_type =
"SetExpressCheckoutResponseType"
@@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")]],
  ["token", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Token")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, token = nil) ⇒ SetExpressCheckoutResponseType

Returns a new instance of SetExpressCheckoutResponseType.



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/paypal-business/default.rb', line 1114

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1107
1108
1109
# File 'lib/paypal-business/default.rb', line 1107

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1102
1103
1104
# File 'lib/paypal-business/default.rb', line 1102

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



1106
1107
1108
# File 'lib/paypal-business/default.rb', line 1106

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1103
1104
1105
# File 'lib/paypal-business/default.rb', line 1103

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



1104
1105
1106
# File 'lib/paypal-business/default.rb', line 1104

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1101
1102
1103
# File 'lib/paypal-business/default.rb', line 1101

def timestamp
  @timestamp
end

#tokenObject

Returns the value of attribute token.



1108
1109
1110
# File 'lib/paypal-business/default.rb', line 1108

def token
  @token
end

#versionObject

Returns the value of attribute version.



1105
1106
1107
# File 'lib/paypal-business/default.rb', line 1105

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1110
1111
1112
# File 'lib/paypal-business/default.rb', line 1110

def set_any(elements)
  @__xmlele_any = elements
end