bp - transfers - aggregation fields
MODIFY
src/types/Billing.ts
src/types/Billing.ts
@@ -200,8 +200,10 @@ export interface BillingTransfer extends CreatedUpdatedProps, BillingTransferAut
totalAmount: number; // Depends on the fee strategy and thus on the final number of sessions
transferAmount: number // Amount transferred after applying platform fees
accountID: string;
+ account?: BillingAccount;
+ businessOwner?: User;
platformFeeData: BillingPlatformFeeData;
- transferExternalID?: string; // Transfer sent to the CPO
+ transferExternalID: string; // Transfer sent to the CPO
}
// Very important - preserve maximal precision - Decimal type is persisted as an object in the DB

bp - transfers - aggregation fields