Class: Mundipagg::Recurrency

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

Overview

Class that hold recurrency transaction information

Constant Summary collapse

@@FREQUENCY =

Allowed recurrency frequency

{
	:Monthly => 'Monthly',
	:Yearly => 'Yearly',
	:Daily => 'Daily'
}

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRecurrency

Initialize class and properties


30
31
# File 'lib/mundipagg/Recurrency.rb', line 30

def initialize	
end

Instance Attribute Details

#dateToStartBillingDate


6
7
8
# File 'lib/mundipagg/Recurrency.rb', line 6

def dateToStartBilling
  @dateToStartBilling
end

#frequencyEnumString

Returns Indicating the recurrency frequency.

See Also:


10
11
12
# File 'lib/mundipagg/Recurrency.rb', line 10

def frequencyEnum
  @frequencyEnum
end

#intervalInteger


13
14
15
# File 'lib/mundipagg/Recurrency.rb', line 13

def interval
  @interval
end

#oneDollarAuthBoolean

to validate the credit card.


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

def oneDollarAuth
  @oneDollarAuth
end

#recurrencesInteger


20
21
22
# File 'lib/mundipagg/Recurrency.rb', line 20

def recurrences
  @recurrences
end

Class Method Details

.FrequencyEnumObject

Allowed recurrency frequency


34
35
36
# File 'lib/mundipagg/Recurrency.rb', line 34

def self.FrequencyEnum
                @@FREQUENCY
end