jp.gopay.sdk.models.request.store.UpdateAppTokenReq 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.store;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.Domain;
import java.util.ArrayList;
import java.util.List;
@SuppressWarnings("FieldCanBeLocal")
public class UpdateAppTokenReq {
@SerializedName("domains")
private List domains;
public UpdateAppTokenReq(List domains) {
List strDomains = new ArrayList<>();
for (Domain domain : domains) {
strDomains.add(domain.asString());
}
this.domains = strDomains;
}
}