Class PaymentCredential

java.lang.Object
com.restfb.types.webhook.messaging.payment.PaymentCredential
All Implemented Interfaces:
Serializable

public class PaymentCredential
extends Object
implements Serializable
See Also:
Serialized Form
  • Field Details

  • Constructor Details

  • Method Details

    • isStripe

      public boolean isStripe()
      convenience method to check if the provider type is stripe
      Returns:
      true if stripe, false if not stripe
    • isPaypal

      public boolean isPaypal()
      convenience method to check if the provider type is paypal
      Returns:
      true if paypal, false if not paypal
    • isToken

      public boolean isToken()
      convenience method to check if the provider type is token
      Returns:
      true if token, false if not token
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProviderType

      Payment provider type
    • setProviderType

      public void setProviderType​(String providerType)
      Payment provider type
    • getChargeId

      public String getChargeId()
      Payment provider charge id
    • setChargeId

      public void setChargeId​(String chargeId)
      Payment provider charge id