com.oceanprotocol.squid.models.asset.OrderResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squid Show documentation
Show all versions of squid Show documentation
Squid facilitate the interaction of java clients with the Ocean Protocol network
/*
* Copyright 2018 Ocean Protocol Foundation
* SPDX-License-Identifier: Apache-2.0
*/
package com.oceanprotocol.squid.models.asset;
public class OrderResult {
private String serviceAgreementId;
private Boolean accessFullfilled = false;
private Boolean refund = false;
public OrderResult(String serviceAgreementId, Boolean accessFullfilled, Boolean refund) {
this.serviceAgreementId = serviceAgreementId;
this.accessFullfilled = accessFullfilled;
this.refund = refund;
}
public String getServiceAgreementId() {
return serviceAgreementId;
}
public void setServiceAgreementId(String serviceAgreementId) {
this.serviceAgreementId = serviceAgreementId;
}
public Boolean isAccessGranted() {
return accessFullfilled;
}
public void setAccessFullfilled(Boolean accessFullfilled) {
this.accessFullfilled = accessFullfilled;
}
public Boolean isRefund() {
return refund;
}
public void setRefund(Boolean refund) {
this.refund = refund;
}
}