com.braintreegateway.PartnerMerchant 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.
The newest version!
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
public final class PartnerMerchant {
private final String merchantPublicId;
private final String publicKey;
private final String privateKey;
private final String partnerMerchantId;
private final String clientSideEncryptionKey;
public PartnerMerchant(NodeWrapper node) {
this.merchantPublicId = node.findString("merchant-public-id");
this.publicKey = node.findString("public-key");
this.privateKey = node.findString("private-key");
this.partnerMerchantId = node.findString("partner-merchant-id");
this.clientSideEncryptionKey = node.findString("client-side-encryption-key");
}
public String getMerchantPublicId() {
return merchantPublicId;
}
public String getPublicKey() {
return publicKey;
}
public String getPrivateKey() {
return privateKey;
}
public String getPartnerMerchantId() {
return partnerMerchantId;
}
public String getClientSideEncryptionKey() {
return clientSideEncryptionKey;
}
}