Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model.hdfc;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
import java.util.Objects;

public class AddPaymentRequestRT {
        @JsonProperty("GenericCorporateAlertRequest")
        public List<GenericCorporateAlertRequest> genericCorporateAlertRequest;

        @Override
        public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                AddPaymentRequestRT that = (AddPaymentRequestRT) o;
                return Objects.equals(genericCorporateAlertRequest, that.genericCorporateAlertRequest);
        }

        @Override
        public int hashCode() {
                return Objects.hash(genericCorporateAlertRequest);
        }

        public List<GenericCorporateAlertRequest> getGenericCorporateAlertRequest() {
                return genericCorporateAlertRequest;
        }

        public void setGenericCorporateAlertRequest(List<GenericCorporateAlertRequest> genericCorporateAlertRequest) {
                this.genericCorporateAlertRequest = genericCorporateAlertRequest;
        }

        @Override
        public String toString() {
                return "AddPaymentRequestRT{" +
                                "genericCorporateAlertRequest=" + genericCorporateAlertRequest +
                                '}';
        }
}