Class: TransactionData

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Mobiledata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(requestMetadata_, sourceType_, source_, provider_, destinationType_, description_, providerChannel_, providerRefId_, providerMetadata_, status_, productName_, category_, transactionDate_, destination_, value_, transactionId_, creationTime_) ⇒ TransactionData

Returns a new instance of TransactionData.



140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/AfricasTalking/Mobiledata.rb', line 140

def initialize , sourceType_, source_, provider_, destinationType_, description_, providerChannel_, providerRefId_, , status_, productName_, category_, transactionDate_, destination_, value_, transactionId_, creationTime_
   =
  @sourceType = sourceType_
  @source = source_
  @provider = provider_
  @destinationType = destinationType_
  @description = description_
  @providerChannel = providerChannel_
  @providerRefId = providerRefId_
   = 
  @status = status_
  @productName = productName_
  @category = category_
  @transactionDate = transactionDate_
  @destination = destination_
  @value = value_
  @transactionId = transactionId_
  @creationTime = creationTime_
end

Instance Attribute Details

#categoryObject (readonly)

Returns the value of attribute category.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def category
  @category
end

#creationTimeObject (readonly)

Returns the value of attribute creationTime.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def creationTime
  @creationTime
end

#descriptionObject (readonly)

Returns the value of attribute description.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def description
  @description
end

#destinationObject (readonly)

Returns the value of attribute destination.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def destination
  @destination
end

#destinationTypeObject (readonly)

Returns the value of attribute destinationType.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def destinationType
  @destinationType
end

#productNameObject (readonly)

Returns the value of attribute productName.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def productName
  @productName
end

#providerObject (readonly)

Returns the value of attribute provider.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def provider
  @provider
end

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def providerChannel
  @providerChannel
end

#providerMetadataObject (readonly)

Returns the value of attribute providerMetadata.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def 
  
end

#providerRefIdObject (readonly)

Returns the value of attribute providerRefId.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def providerRefId
  @providerRefId
end

#requestMetadataObject (readonly)

Returns the value of attribute requestMetadata.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def 
  
end

#sourceObject (readonly)

Returns the value of attribute source.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def source
  @source
end

#sourceTypeObject (readonly)

Returns the value of attribute sourceType.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def sourceType
  @sourceType
end

#statusObject (readonly)

Returns the value of attribute status.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def status
  @status
end

#transactionDateObject (readonly)

Returns the value of attribute transactionDate.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def transactionDate
  @transactionDate
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def transactionId
  @transactionId
end

#valueObject (readonly)

Returns the value of attribute value.



139
140
141
# File 'lib/AfricasTalking/Mobiledata.rb', line 139

def value
  @value
end