Package org.bgerp.plugin.msg.sms

# Class ExpressionObject

java.lang.Object
org.bgerp.plugin.msg.sms.ExpressionObject

public class ExpressionObject extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExpressionObject()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `sendSms(int senderId, String number, String text)`
  Sends a message using a configured Sender.
  `void`
  `sendSms(String number, String text)`
  Sends a message using default Sender with ID = 0.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExpressionObject

    public ExpressionObject()

- ## Method Details

  - ### sendSms

    public void sendSms(String number, String text)
    Sends a message using default Sender with ID = 0.
    Parameters:
      `number` - recipient phone number.
      `text` - message text.

  - ### sendSms

    public void sendSms(int senderId, String number, String text)
    Sends a message using a configured Sender.
    Parameters:
      `senderId` - the Sender ID.
      `number` - recipient phone number.
      `text` - message text.