Class PaymentCredential
java.lang.Object
com.restfb.types.webhook.messaging.payment.PaymentCredential
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPayment provider charge idPayment provider typebooleanisPaypal()convenience method to check if the provider type is paypalbooleanisStripe()convenience method to check if the provider type is stripebooleanisToken()convenience method to check if the provider type is tokenvoidsetChargeId(String chargeId) Payment provider charge idvoidsetProviderType(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:
trueif stripe,falseif not stripe
-
isPaypal
convenience method to check if the provider type is paypal- Returns:
trueif paypal,falseif not paypal
-
isToken
convenience method to check if the provider type is token- Returns:
trueif token,falseif not token
-
toString
-
getProviderType
Payment provider type -
setProviderType
Payment provider type -
getChargeId
Payment provider charge id -
setChargeId
Payment provider charge id
-