![JAR search and dependency download from the Maven repository](/logo.png)
com.payu.sdk.api.model.termsconditions.TermsConditionsVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A fresh implementation of the PayU API Client for Android
The newest version!
package com.payu.sdk.api.model.termsconditions;
import java.util.List;
public class TermsConditionsVersion {
private TermsConditionsType termsAndConditionsType;
private String version;
private List links;
public TermsConditionsType getTermsAndConditionsType() {
return termsAndConditionsType;
}
public String getVersion() {
return version;
}
public List getLinks() {
return links;
}
/**
* Returns a link corresponding with a specific relationship
*
* @return The link corresponding to a relationship
*/
public Link getLinkRel(Link.Rel rel) {
if (links != null && !links.isEmpty() && rel != null) {
for (Link link : links) {
if (link.getRel() != null && rel.equals(link.getRel())) {
return link;
}
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy