com.braintreegateway.InternationalPhone Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.braintree-java
Show all versions of org.apache.servicemix.bundles.braintree-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
public class InternationalPhone {
private String countryCode;
private String nationalNumber;
public InternationalPhone(NodeWrapper node) {
countryCode = node.findString("country-code");
nationalNumber = node.findString("national-number");
}
public InternationalPhone(String countryCode, String nationalNumber) {
this.countryCode = countryCode;
this.nationalNumber = nationalNumber;
}
public String getCountryCode() {
return countryCode;
}
public String getNationalNumber() {
return nationalNumber;
}
}