Class: Hps::HpsGiftCard

Inherits:
Object
  • Object
show all
Defined in:
lib/hps/entities/hps_gift_card.rb

Overview

= HpsGiftCard =
===============

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number = nil) ⇒ HpsGiftCard

Returns a new instance of HpsGiftCard.



9
10
11
# File 'lib/hps/entities/hps_gift_card.rb', line 9

def initialize(number = nil)
  self.number = number
end

Instance Attribute Details

#aliasObject

Returns the value of attribute alias.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def alias
  @alias
end

#encryption_dataObject

Returns the value of attribute encryption_data.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def encryption_data
  @encryption_data
end

#numberObject

Returns the value of attribute number.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def number
  @number
end

#pinObject

Returns the value of attribute pin.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def pin
  @pin
end

#token_valueObject

Returns the value of attribute token_value.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def token_value
  @token_value
end

#track_dataObject

Returns the value of attribute track_data.



6
7
8
# File 'lib/hps/entities/hps_gift_card.rb', line 6

def track_data
  @track_data
end