Class: MobileCheckoutResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountNumber_, status_, transactionId_, transactionFee_) ⇒ MobileCheckoutResponse

Returns a new instance of MobileCheckoutResponse.



379
380
381
382
383
384
# File 'lib/AfricasTalking/Payments.rb', line 379

def initialize accountNumber_, status_, transactionId_, transactionFee_
		@accountNumber = accountNumber_
		@status = status_
		@transactionId  = transactionId_
		@transactionFee  = transactionFee_
end

Instance Attribute Details

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



378
379
380
# File 'lib/AfricasTalking/Payments.rb', line 378

def providerChannel
  @providerChannel
end

#statusObject (readonly)

Returns the value of attribute status.



378
379
380
# File 'lib/AfricasTalking/Payments.rb', line 378

def status
  @status
end

#transactionFeeObject (readonly)

Returns the value of attribute transactionFee.



378
379
380
# File 'lib/AfricasTalking/Payments.rb', line 378

def transactionFee
  @transactionFee
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



378
379
380
# File 'lib/AfricasTalking/Payments.rb', line 378

def transactionId
  @transactionId
end