
com.braintreegateway.Descriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of braintree-java Show documentation
Show all versions of braintree-java Show documentation
Java Client Library for Braintree Payments Gateway
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
/**
* An address can belong to:
*
* - a CreditCard as the billing address
*
- a Customer as an address
*
- a Transaction as a billing or shipping address
*
*
*/
public class Descriptor {
private String name;
private String phone;
private String url;
public Descriptor(NodeWrapper node) {
name = node.findString("name");
phone = node.findString("phone");
url = node.findString("url");
}
public String getName() {
return name;
}
public String getPhone() {
return phone;
}
public String getUrl() {
return url;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy