ERD / Object Structure
Technical Results for Consultants & Developers
Breadwinner is designed to be enhanced by developers. We provide Stripe, Braintree, and Square data in native and custom Salesforce objects. You can further add formulas, Apex roll-ups, workflow, and triggers.
Breadwinner Payments ERD
Breadwinner consists of a number of objects that perfectly reflect the Stripe/Braintree/Square objects and data structure.
Specifically, we replicate (as slave data, in a Read-Only manner):
- Stripe/Braintree/Square Customers (including both the company type and individual type)
- Stripe/Braintree/Square Payment Methods (representing credit cards and bank accounts)
- Stripe/Braintree/Square Payments (representing both payments and pre-payments from a Stripe/Braintree/Square Customer)

Click the image to see the full-sized ERD for Breadwinner Payments
All of the above data is designed to be accessed securely. For financial security, edits or changes to the data in Salesforce will not be written back to Stripe/Braintree/Square. Also, those changes to Salesforce records will be overwritten weekly with the master data in Stripe/Braintree/Square.
Creating or editing data in Stripe/Braintree/Square is possible with Breadwinner. However, for data integrity and financial controls, all data written to or edited in Stripe/Braintree/Square must be done via our Guided Invoice Creation Wizard, or via our exposed API methods.