Class: DoCaptureRequestType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:api:PayPalAPIDoCaptureRequestType

Constant Summary collapse

@@schema_type =
"DoCaptureRequestType"
@@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")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuthorizationID")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]],
  ["completeType", ["CompleteCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "CompleteType")]],
  ["note", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Note")]],
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "InvoiceID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil, completeType = nil, note = nil, invoiceID = nil) ⇒ DoCaptureRequestType

Returns a new instance of DoCaptureRequestType.



1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
# File 'lib/v_paypal/default.rb', line 1209

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil, completeType = nil, note = nil, invoiceID = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @authorizationID = authorizationID
  @amount = amount
  @completeType = completeType
  @note = note
  @invoiceID = invoiceID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1198
1199
1200
# File 'lib/v_paypal/default.rb', line 1198

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



1200
1201
1202
# File 'lib/v_paypal/default.rb', line 1200

def amount
  @amount
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1199
1200
1201
# File 'lib/v_paypal/default.rb', line 1199

def authorizationID
  @authorizationID
end

#completeTypeObject

Returns the value of attribute completeType.



1201
1202
1203
# File 'lib/v_paypal/default.rb', line 1201

def completeType
  @completeType
end

#detailLevelObject

Returns the value of attribute detailLevel.



1194
1195
1196
# File 'lib/v_paypal/default.rb', line 1194

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1195
1196
1197
# File 'lib/v_paypal/default.rb', line 1195

def errorLanguage
  @errorLanguage
end

#invoiceIDObject

Returns the value of attribute invoiceID.



1203
1204
1205
# File 'lib/v_paypal/default.rb', line 1203

def invoiceID
  @invoiceID
end

#messageIDObject

Returns the value of attribute messageID.



1196
1197
1198
# File 'lib/v_paypal/default.rb', line 1196

def messageID
  @messageID
end

#noteObject

Returns the value of attribute note.



1202
1203
1204
# File 'lib/v_paypal/default.rb', line 1202

def note
  @note
end

#versionObject

Returns the value of attribute version.



1197
1198
1199
# File 'lib/v_paypal/default.rb', line 1197

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1205
1206
1207
# File 'lib/v_paypal/default.rb', line 1205

def set_any(elements)
  @__xmlele_any = elements
end