Class: MobileCheckoutResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status_, description_, transactionId_, providerChannel_) ⇒ MobileCheckoutResponse

Returns a new instance of MobileCheckoutResponse.



490
491
492
493
494
495
# File 'lib/AfricasTalking/Payments.rb', line 490

def initialize status_, description_, transactionId_, providerChannel_
    @description = description_
    @status = status_
    @transactionId  = transactionId_
    @providerChannel  = providerChannel_
end

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



489
490
491
# File 'lib/AfricasTalking/Payments.rb', line 489

def description
  @description
end

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



489
490
491
# File 'lib/AfricasTalking/Payments.rb', line 489

def providerChannel
  @providerChannel
end

#statusObject (readonly)

Returns the value of attribute status.



489
490
491
# File 'lib/AfricasTalking/Payments.rb', line 489

def status
  @status
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



489
490
491
# File 'lib/AfricasTalking/Payments.rb', line 489

def transactionId
  @transactionId
end