All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plivo.api.models.pricing.PricingGetter Maven / Gradle / Ivy

Go to download

A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML

There is a newer version: 5.46.0
Show newest version
package com.plivo.api.models.pricing;

import com.plivo.api.models.base.Getter;
import com.plivo.api.util.Utils;
import retrofit2.Call;

public class PricingGetter extends Getter {

  public PricingGetter(String countryIso) {
    super(countryIso);

    if (!Utils.allNotNull(countryIso)) {
      throw new IllegalArgumentException("countryIso cannot be null");
    }
  }

  @Override
  protected Call obtainCall() {
    return client().getApiService().pricingGet(client().getAuthId(), id);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy