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

com.braintreegateway.Descriptor Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy