jp.gopay.sdk.models.request.transactiontoken.UpdateReq 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.request.transactiontoken;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.GoPayEmailAddress;
import jp.gopay.sdk.types.MetadataMap;
public class UpdateReq {
@SerializedName("email")
private GoPayEmailAddress email;
@SerializedName("metadata")
private MetadataMap metadata;
@SerializedName("data")
private UpdateCreditCardReq cardData;
public UpdateReq(GoPayEmailAddress email, MetadataMap metadata, Integer cvv) {
this.email = email;
this.metadata = metadata;
this.cardData = new UpdateCreditCardReq(cvv);
}
}