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

com.infobip.model.WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus Maven / Gradle / Ivy

The newest version!
/*
 * This class is auto generated from the Infobip OpenAPI specification
 * through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR),
 * powered by the OpenAPI Generator (https://openapi-generator.tech).
 *
 * Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide
 * or contact us @ [email protected].
 */

package com.infobip.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

/**
 * Represents WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus model.
 */
public class WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus extends WhatsAppInteractiveOrderPaymentStatus {

    private String id;

    /**
     * Constructs a new {@link WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus} instance.
     */
    public WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus() {
        super("PG_RAZORPAY");
    }

    /**
     * Sets id.
     * 

* Field description: * Unique identifier of the payment. *

* The field is required. * * @param id * @return This {@link WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus instance}. */ public WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus id(String id) { this.id = id; return this; } /** * Returns id. *

* Field description: * Unique identifier of the payment. *

* The field is required. * * @return id */ @JsonProperty("id") public String getId() { return id; } /** * Sets id. *

* Field description: * Unique identifier of the payment. *

* The field is required. * * @param id */ @JsonProperty("id") public void setId(String id) { this.id = id; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus whatsAppInteractiveOrderUPIPGRazorpayPaymentStatus = (WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus) o; return Objects.equals(this.id, whatsAppInteractiveOrderUPIPGRazorpayPaymentStatus.id) && super.equals(o); } @Override public int hashCode() { return Objects.hash(id, super.hashCode()); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class WhatsAppInteractiveOrderUPIPGRazorpayPaymentStatus {") .append(newLine) .append(" ") .append(toIndentedString(super.toString())) .append(newLine) .append(" id: ") .append(toIndentedString(id)) .append(newLine) .append("}") .toString(); } private String toIndentedString(Object o) { if (o == null) { return "null"; } String lineSeparator = System.lineSeparator(); String lineSeparatorFollowedByIndentation = lineSeparator + " "; return o.toString().replace(lineSeparator, lineSeparatorFollowedByIndentation); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy