com.greenapi.client.pkg.models.Product Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsapp-api-client-java Show documentation
Show all versions of whatsapp-api-client-java Show documentation
WhatsApp java client Green API
package com.greenapi.client.pkg.models;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Product {
private String id;
private ImageUrls imageUrls;
private String availability;
private ReviewStatus reviewStatus;
private String name;
private String description;
private String price;
private Boolean isHidden;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public static class ReviewStatus {
private String whatsapp;
}
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public static class ImageUrls {
private String requested;
private String original;
}
}