jp.gopay.sdk.models.response.GoPayBinaryData 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.response;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
public class GoPayBinaryData extends GoPayResponse{
private byte[] bytes;
public byte[] getBytes() {
return bytes;
}
public InputStream getInputStream(){
return new ByteArrayInputStream(bytes);
}
public GoPayBinaryData(byte[] bytes) {
this.bytes = bytes;
}
}