jp.gopay.sdk.models.common.QrScanData 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.request.transactiontoken.PaymentData;
import jp.gopay.sdk.types.PaymentTypeName;
public class QrScanData implements PaymentData{
@SerializedName("scanned_qr")
private String scannedQr;
public String getScannedQr() {
return scannedQr;
}
public QrScanData(String scannedQr) {
this.scannedQr = scannedQr;
}
@Override
public PaymentTypeName getPaymentType() {
return PaymentTypeName.QR_SCAN;
}
}