001/* 002 * Copyright 2020 Vonage 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package com.vonage.client.voice; 017 018/** 019 * The JSON payload that will be sent in a {@link DtmfRequest}. 020 * <p> 021 * {@code digits} are the DTMF tones to be sent to a {@link Call}. 022 */ 023 024public class DtmfPayload { 025 private String digits; 026 027 public DtmfPayload(String digits) { 028 this.digits = digits; 029 } 030 031 public String getDigits() { 032 return digits; 033 } 034 035 public void setDigits(String digits) { 036 this.digits = digits; 037 } 038}