Custom Gateway Classes

Salesforce Billing provides three classes that users can customize to integrate with their chosen payment gateway.

  • YourGatewayAPI

    YourGatewayAPI is a base class that connects the Salesforce Billing package to your payment gateway package. All user gateway API classes will be different based on your needs. However, we’ve provided a template that you can use to help create your own.

  • YourGatewayName

    YourGateWayName is a base class. All user gateway API classes will be different based on your needs. However, we’ve provided a template that you can use to help create your own.

  • YourGatewayNameUtils

    YourGatewayNameUtils is a singleton utility class that interacts with an external payment gateway. All user gateway API classes will be different based on your needs. However, we’ve provided a template that you can use to help create your own.

  • YourHttpService

    YourHttpService is an example of common HTTP utilities that might be required while building a partner package. All user gateway API classes will be different based on your needs. However, we’ve provided a template that you can use to help create your own.