Class: TaxRequest

Inherits:
ComplexExactorObject show all
Defined in:
app/helpers/exactor_api_objects.rb

Overview

http://www.exactor.com/nsTaxRequest

merchantId - SOAP::SOAPString
userId - SOAP::SOAPString
partnerId - SOAP::SOAPString
digitalSignature - SOAP::SOAPBase64
invoiceRequest - InvoiceRequestType
commitRequest - CommitRequestType
refundRequest - RefundRequestType
deleteRequest - DeleteRequestType
xmlattr_plugin - SOAP::SOAPString
xmlattr_version - SOAP::SOAPString

Constant Summary collapse

AttrPlugin =
"plugin"
AttrVersion =
"version"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(merchantId = nil, userId = nil, partnerId = nil, digitalSignature = nil, invoiceRequest = nil, commitRequest = nil, refundRequest = nil, deleteRequest = nil) ⇒ TaxRequest

Returns a new instance of TaxRequest.



343
344
345
346
347
348
349
350
351
352
353
# File 'app/helpers/exactor_api_objects.rb', line 343

def initialize(merchantId = nil, userId = nil, partnerId = nil, digitalSignature = nil, invoiceRequest = nil, commitRequest = nil, refundRequest = nil, deleteRequest = nil)
  @MerchantId = merchantId
  @UserId = userId
  @PartnerId = partnerId
  @DigitalSignature = digitalSignature
  @InvoiceRequest = invoiceRequest
  @CommitRequest = commitRequest
  @RefundRequest = refundRequest
  @DeleteRequest = deleteRequest
  @__xmlattr = {"xmlns"=>"http://www.exactor.com/ns"}
end

Instance Attribute Details

#CommitRequestObject

Returns the value of attribute CommitRequest.



319
320
321
# File 'app/helpers/exactor_api_objects.rb', line 319

def CommitRequest
  @CommitRequest
end

#DeleteRequestObject

Returns the value of attribute DeleteRequest.



321
322
323
# File 'app/helpers/exactor_api_objects.rb', line 321

def DeleteRequest
  @DeleteRequest
end

#DigitalSignatureObject

Returns the value of attribute DigitalSignature.



317
318
319
# File 'app/helpers/exactor_api_objects.rb', line 317

def DigitalSignature
  @DigitalSignature
end

#InvoiceRequestObject

Returns the value of attribute InvoiceRequest.



318
319
320
# File 'app/helpers/exactor_api_objects.rb', line 318

def InvoiceRequest
  @InvoiceRequest
end

#MerchantIdObject

Returns the value of attribute MerchantId.



314
315
316
# File 'app/helpers/exactor_api_objects.rb', line 314

def MerchantId
  @MerchantId
end

#PartnerIdObject

Returns the value of attribute PartnerId.



316
317
318
# File 'app/helpers/exactor_api_objects.rb', line 316

def PartnerId
  @PartnerId
end

#RefundRequestObject

Returns the value of attribute RefundRequest.



320
321
322
# File 'app/helpers/exactor_api_objects.rb', line 320

def RefundRequest
  @RefundRequest
end

#UserIdObject

Returns the value of attribute UserId.



315
316
317
# File 'app/helpers/exactor_api_objects.rb', line 315

def UserId
  @UserId
end

Instance Method Details

#__xmlattrObject



323
324
325
# File 'app/helpers/exactor_api_objects.rb', line 323

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_pluginObject



327
328
329
# File 'app/helpers/exactor_api_objects.rb', line 327

def xmlattr_plugin
  __xmlattr[AttrPlugin]
end

#xmlattr_plugin=(value) ⇒ Object



331
332
333
# File 'app/helpers/exactor_api_objects.rb', line 331

def xmlattr_plugin=(value)
  __xmlattr[AttrPlugin] = value
end

#xmlattr_versionObject



335
336
337
# File 'app/helpers/exactor_api_objects.rb', line 335

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



339
340
341
# File 'app/helpers/exactor_api_objects.rb', line 339

def xmlattr_version=(value)
  __xmlattr[AttrVersion] = value
end