net.optionfactory.whatsapp.dto.webhook.Pricing Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.webhook;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type Pricing.
*
* @param pricingModel Type of pricing model being used. Current supported values are: - "CBP" (conversation-based pricing): See Conversation-Based Pricing for rates based on recipient country.
- "NBP" (notification-based pricing): Notifications are also known as Template Messages (click here for details on pricing).
This pricing model will be deprecated in a future release early 2022.
*/
public record Pricing(
@JsonProperty("pricing_model") String pricingModel,
@JsonProperty("category") String category,
@JsonProperty("billable") boolean billable
) {
}