jp.gopay.sdk.models.common.GopayCustomerId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.common;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.response.GoPayResponse;
import java.util.UUID;
public class GopayCustomerId extends GoPayResponse {
public static String metadataKey = "gopay-customer-id";
@SerializedName("customer_id")
private UUID gopayCustomerId;
public GopayCustomerId(UUID gopayCustomerId) {
this.gopayCustomerId = gopayCustomerId;
}
public UUID toUUID(){
return this.gopayCustomerId;
}
@Override
public String toString(){
if(this.gopayCustomerId == null){
return null;
}
return this.gopayCustomerId.toString();
}
}