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.



535
536
537
538
539
540
# File 'lib/AfricasTalking/Payments.rb', line 535

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.



534
535
536
# File 'lib/AfricasTalking/Payments.rb', line 534

def description
  @description
end

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



534
535
536
# File 'lib/AfricasTalking/Payments.rb', line 534

def providerChannel
  @providerChannel
end

#statusObject (readonly)

Returns the value of attribute status.



534
535
536
# File 'lib/AfricasTalking/Payments.rb', line 534

def status
  @status
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



534
535
536
# File 'lib/AfricasTalking/Payments.rb', line 534

def transactionId
  @transactionId
end