import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js"; /** * The total transaction volume amount. This field is deprecated and will be removed in a future release. * * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type VolumeAmount = { /** * A 3-letter ISO 4217 currency code. */ currency: string; /** * A decimal-formatted numerical string that represents up to 9 decimal place precision. * * @remarks * * For example, $12.987654321 is '12.987654321'. */ valueDecimal: string; }; export type BillingSummaryDetails = { /** * The total transaction volume amount. This field is deprecated and will be removed in a future release. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ volumeAmount?: VolumeAmount | undefined; /** * The total number of transactions. This field is deprecated and will be removed in a future release. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ volumeCount?: number | undefined; /** * The total fee amount. */ feeAmount?: AmountDecimal | undefined; /** * Total fee revenue collected from merchants. */ merchantFeesCollected?: AmountDecimal | undefined; /** * Total fee costs incurred by the partner. */ partnerFeesAssessed?: AmountDecimal | undefined; /** * Net revenue after deducting partner fee costs. */ netIncome?: AmountDecimal | undefined; }; /** @internal */ export declare const VolumeAmount$inboundSchema: z.ZodType; /** @internal */ export type VolumeAmount$Outbound = { currency: string; valueDecimal: string; }; /** @internal */ export declare const VolumeAmount$outboundSchema: z.ZodType; export declare function volumeAmountToJSON(volumeAmount: VolumeAmount): string; export declare function volumeAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BillingSummaryDetails$inboundSchema: z.ZodType; /** @internal */ export type BillingSummaryDetails$Outbound = { volumeAmount?: VolumeAmount$Outbound | undefined; volumeCount?: number | undefined; feeAmount?: AmountDecimal$Outbound | undefined; merchantFeesCollected?: AmountDecimal$Outbound | undefined; partnerFeesAssessed?: AmountDecimal$Outbound | undefined; netIncome?: AmountDecimal$Outbound | undefined; }; /** @internal */ export declare const BillingSummaryDetails$outboundSchema: z.ZodType; export declare function billingSummaryDetailsToJSON(billingSummaryDetails: BillingSummaryDetails): string; export declare function billingSummaryDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=billingsummarydetails.d.ts.map