Class: Mundipagg::ManageOrderRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/mundipagg/ManageOrderRequest.rb

Constant Summary collapse

@@Operation =

Operations allowed

{
	:Capture => 'Capture',
	:Void => 'Void'
}

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeManageOrderRequest

Initialize class and properties


27
28
29
30
# File 'lib/mundipagg/ManageOrderRequest.rb', line 27

def initialize
	@transactionCollection = Array.new
	@requestKey = '00000000-0000-0000-0000-000000000000'
end

Instance Attribute Details

#manageOrderOperationEnumString

Returns Operation enum.

Returns:

  • (String)

    Operation enum


8
9
10
# File 'lib/mundipagg/ManageOrderRequest.rb', line 8

def manageOrderOperationEnum
  @manageOrderOperationEnum
end

#merchantKeyGuid

Returns MundiPagg merchant identification.

Returns:

  • (Guid)

    MundiPagg merchant identification


11
12
13
# File 'lib/mundipagg/ManageOrderRequest.rb', line 11

def merchantKey
  @merchantKey
end

#orderKeyGuid

Returns Unique order identification. Generated by MundiPagg.

Returns:

  • (Guid)

    Unique order identification. Generated by MundiPagg.


14
15
16
# File 'lib/mundipagg/ManageOrderRequest.rb', line 14

def orderKey
  @orderKey
end

#orderReferenceString

Returns Order identification.

Returns:

  • (String)

    Order identification.


17
18
19
# File 'lib/mundipagg/ManageOrderRequest.rb', line 17

def orderReference
  @orderReference
end

#requestKeyGuid

If not send, it will be generate automatically in the webservice and returned in response. Web service request identification, it is used for investigate problems with webservice requests.

Parameters:

  • Optional
  • Default:

    00000000-0000-0000-0000-000000000000

Returns:

  • (Guid)

    Globally Unique Identifier.


24
25
26
# File 'lib/mundipagg/ManageOrderRequest.rb', line 24

def requestKey
  @requestKey
end

#transactionCollectionArray

Returns Credit card transaction collection.

Returns:

  • (Array)

    Credit card transaction collection


5
6
7
# File 'lib/mundipagg/ManageOrderRequest.rb', line 5

def transactionCollection
  @transactionCollection
end

Class Method Details

.OperationEnumObject

Hash collection with operations allowed


39
40
41
# File 'lib/mundipagg/ManageOrderRequest.rb', line 39

def self.OperationEnum
	@@Operation
end