js.web.paymentrequest.PaymentOptions Maven / Gradle / Ivy
package js.web.paymentrequest;
import js.lang.Any;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
public interface PaymentOptions extends Any {
@JSProperty
boolean isRequestPayerEmail();
@JSProperty
void setRequestPayerEmail(boolean requestPayerEmail);
@JSProperty
boolean isRequestPayerName();
@JSProperty
void setRequestPayerName(boolean requestPayerName);
@JSProperty
boolean isRequestPayerPhone();
@JSProperty
void setRequestPayerPhone(boolean requestPayerPhone);
@JSProperty
boolean isRequestShipping();
@JSProperty
void setRequestShipping(boolean requestShipping);
@JSProperty
@Nullable
String getShippingType();
@JSProperty
void setShippingType(String shippingType);
}