Class PaymentCredential
java.lang.Object
com.restfb.types.webhook.messaging.payment.PaymentCredential
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPayment provider charge idPayment provider typeboolean
isPaypal()
convenience method to check if the provider type is paypalboolean
isStripe()
convenience method to check if the provider type is stripeboolean
isToken()
convenience method to check if the provider type is tokenvoid
setChargeId
(String chargeId) Payment provider charge idvoid
setProviderType
(String providerType) Payment provider typetoString()
-
Field Details
-
STRIPE
The "stripe" provider type.- See Also:
-
PAYPAL
The "paypal" provider type.- See Also:
-
TOKEN
The "token" provider type.- See Also:
-
-
Constructor Details
-
PaymentCredential
public PaymentCredential()
-
-
Method Details
-
isStripe
convenience method to check if the provider type is stripe- Returns:
true
if stripe,false
if not stripe
-
isPaypal
convenience method to check if the provider type is paypal- Returns:
true
if paypal,false
if not paypal
-
isToken
convenience method to check if the provider type is token- Returns:
true
if token,false
if not token
-
toString
-
getProviderType
Payment provider type -
setProviderType
Payment provider type -
getChargeId
Payment provider charge id -
setChargeId
Payment provider charge id
-