Class TextAnywhere.SendSMSResponse

java.lang.Object
ch.autumo.commons.sms.TextAnywhere.SendSMSResponse
Enclosing class:
TextAnywhere

public static class TextAnywhere.SendSMSResponse extends Object
This class represents the API Response. It is automatically created starting from the JSON object returned by the server, using the Jackson framework object-mapper (with snake case).
  • Constructor Details

    • SendSMSResponse

      public SendSMSResponse()
  • Method Details

    • getResult

      public String getResult()
      Get result.
      Returns:
      result
    • setResult

      public void setResult(String result)
      Set result.
      Parameters:
      result - result
    • getOrderId

      public String getOrderId()
      Get order ID.
      Returns:
      order ID
    • setOrderId

      public void setOrderId(String order_id)
      Set order ID.
      Parameters:
      order_id - order ID
    • getTotalSent

      public int getTotalSent()
      Get total sent.
      Returns:
      total sent
    • setTotalSent

      public void setTotalSent(int total_sent)
      Set total sent.
      Parameters:
      total_sent - total sent
    • getRemainingCredits

      public int getRemainingCredits()
      Get remaining credits.
      Returns:
      remaining credits
    • setRemainingCredits

      public void setRemainingCredits(int remaining_credits)
      Set remaining credits.
      Parameters:
      remaining_credits - remaining credits
    • getInternalOrderId

      public String getInternalOrderId()
      Get internal order ID.
      Returns:
      internal order ID
    • setInternalOrderId

      public void setInternalOrderId(String internal_order_id)
      Set internal order ID.
      Parameters:
      internal_order_id - internal order ID
    • isValid

      public boolean isValid()
      Is it valid?
      Returns:
      valid?