import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CancelStatus } from "./cancelstatus.js"; import { Transaction } from "./transaction.js"; export type TransactionCancel = { /** * Always `transaction-cancel`. */ type: "transaction-cancel"; status: CancelStatus; /** * The standardized error code set by Gr4vy. */ code: string | null; /** * This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services. */ rawResponseCode: string | null; /** * This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services. */ rawResponseDescription: string | null; /** * A full transaction resource. */ transaction: Transaction; }; /** @internal */ export declare const TransactionCancel$inboundSchema: z.ZodType; export declare function transactionCancelFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transactioncancel.d.ts.map