Package com.restfb.types
Class Page.PagePaymentOptions
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Page.PagePaymentOptions
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Page
public static class Page.PagePaymentOptions extends AbstractFacebookType
Represents the Page Payment Options Graph API type.- Since:
- 1.10.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagePaymentOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAmex()
Whether the business accepts American Express as a payment option.Boolean
getCashOnly()
Whether the business accepts cash only as a payment option.Boolean
getDiscover()
Whether the business accepts Discover as a payment option.Boolean
getMastercard()
Whether the business accepts MasterCard as a payment option.Boolean
getVisa()
Whether the business accepts Visa as a payment option.void
setAmex(Boolean amex)
Whether the business accepts American Express as a payment option.void
setCashOnly(Boolean cashOnly)
Whether the business accepts cash only as a payment option.void
setDiscover(Boolean discover)
Whether the business accepts Discover as a payment option.void
setMastercard(Boolean mastercard)
Whether the business accepts MasterCard as a payment option.void
setVisa(Boolean visa)
Whether the business accepts Visa as a payment option.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
PagePaymentOptions
public PagePaymentOptions()
-
-
Method Detail
-
setAmex
public void setAmex(Boolean amex)
Whether the business accepts American Express as a payment option.
-
getCashOnly
public Boolean getCashOnly()
Whether the business accepts cash only as a payment option.
-
setCashOnly
public void setCashOnly(Boolean cashOnly)
Whether the business accepts cash only as a payment option.
-
getDiscover
public Boolean getDiscover()
Whether the business accepts Discover as a payment option.
-
setDiscover
public void setDiscover(Boolean discover)
Whether the business accepts Discover as a payment option.
-
getMastercard
public Boolean getMastercard()
Whether the business accepts MasterCard as a payment option.
-
setMastercard
public void setMastercard(Boolean mastercard)
Whether the business accepts MasterCard as a payment option.
-
-