Class: TransactionData

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Payments.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.



666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'lib/AfricasTalking/Payments.rb', line 666

def initialize , sourceType_, source_, provider_, destinationType_, description_, providerChannel_, providerRefId_, , status_, productName_, category_, transactionDate_, destination_, value_, transactionId_, creationTime_
	@requestMetadata =
	@sourceType = sourceType_
	@source = source_
	@provider = provider_
	@destinationType = destinationType_
	@description = description_
	@providerChannel = providerChannel_
	@providerRefId = providerRefId_
	@providerMetadata = 
	@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.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def category
  @category
end

#creationTimeObject (readonly)

Returns the value of attribute creationTime.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def creationTime
  @creationTime
end

#descriptionObject (readonly)

Returns the value of attribute description.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def description
  @description
end

#destinationObject (readonly)

Returns the value of attribute destination.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def destination
  @destination
end

#destinationTypeObject (readonly)

Returns the value of attribute destinationType.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def destinationType
  @destinationType
end

#productNameObject (readonly)

Returns the value of attribute productName.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def productName
  @productName
end

#providerObject (readonly)

Returns the value of attribute provider.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def provider
  @provider
end

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def providerChannel
  @providerChannel
end

#providerMetadataObject (readonly)

Returns the value of attribute providerMetadata.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def 
  @providerMetadata
end

#providerRefIdObject (readonly)

Returns the value of attribute providerRefId.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def providerRefId
  @providerRefId
end

#requestMetadataObject (readonly)

Returns the value of attribute requestMetadata.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def 
  @requestMetadata
end

#sourceObject (readonly)

Returns the value of attribute source.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def source
  @source
end

#sourceTypeObject (readonly)

Returns the value of attribute sourceType.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def sourceType
  @sourceType
end

#statusObject (readonly)

Returns the value of attribute status.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def status
  @status
end

#transactionDateObject (readonly)

Returns the value of attribute transactionDate.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def transactionDate
  @transactionDate
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def transactionId
  @transactionId
end

#valueObject (readonly)

Returns the value of attribute value.



665
666
667
# File 'lib/AfricasTalking/Payments.rb', line 665

def value
  @value
end