/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * * @export * @interface UrlParam */ export interface UrlParam { /** * URL link * @type {string} * @memberof UrlParam */ url: string; /** * Url param. The enums:
* * PAY_RETURN - After the payment, the user will be redirected to merchant page, this is mandatory
* * NOTIFICATION - When finish payment, DANA will notify to the URL that has been defined by user
* * @type {string} * @memberof UrlParam */ type: UrlParamTypeEnum; /** * Deeplink URL or not * @type {string} * @memberof UrlParam */ isDeeplink: string; } /** * @export */ export declare const UrlParamTypeEnum: { readonly PayReturn: "PAY_RETURN"; readonly Notification: "NOTIFICATION"; }; export type UrlParamTypeEnum = typeof UrlParamTypeEnum[keyof typeof UrlParamTypeEnum] | ''; /** * Check if a given object implements the UrlParam interface. */ export declare function instanceOfUrlParam(value: object): value is UrlParam; export declare function UrlParamFromJSON(json: any): UrlParam; export declare function UrlParamFromJSONTyped(json: any, ignoreDiscriminator: boolean): UrlParam; export declare function UrlParamToJSON(json: any): UrlParam; export declare function UrlParamToJSONTyped(value?: UrlParam | null, ignoreDiscriminator?: boolean): any; export declare function validateUrlParam(value: UrlParam): ValidationErrorContext[];