gotrip-fx-transaction-form 1.0.290-dev → 1.0.291-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -22,5 +22,20 @@ export interface BikeStepThreePaymentProps {
|
|
|
22
22
|
waitForApproval?: boolean;
|
|
23
23
|
onWaitForApprovalChange?: (value: boolean) => void;
|
|
24
24
|
mode?: 'create' | 'edit';
|
|
25
|
+
appliedCoupon?: {
|
|
26
|
+
code: string;
|
|
27
|
+
discountAmount: number;
|
|
28
|
+
finalAmount: number;
|
|
29
|
+
} | null;
|
|
30
|
+
onCouponChange?: (coupon: {
|
|
31
|
+
code: string;
|
|
32
|
+
discountAmount: number;
|
|
33
|
+
finalAmount: number;
|
|
34
|
+
} | null) => void;
|
|
35
|
+
initialCoupon?: {
|
|
36
|
+
code: string;
|
|
37
|
+
discountAmount: number;
|
|
38
|
+
finalAmount: number;
|
|
39
|
+
} | null;
|
|
25
40
|
}
|
|
26
|
-
export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, paymentType, isAdminMode, selectedUser, waitForApproval, onWaitForApprovalChange, mode, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, paymentType, isAdminMode, selectedUser, waitForApproval, onWaitForApprovalChange, mode, appliedCoupon, onCouponChange, initialCoupon, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,6 +25,21 @@ interface CarStepFourPaymentProps {
|
|
|
25
25
|
waitForApproval?: boolean;
|
|
26
26
|
onWaitForApprovalChange?: (value: boolean) => void;
|
|
27
27
|
mode?: 'create' | 'edit';
|
|
28
|
+
appliedCoupon?: {
|
|
29
|
+
code: string;
|
|
30
|
+
discountAmount: number;
|
|
31
|
+
finalAmount: number;
|
|
32
|
+
} | null;
|
|
33
|
+
onCouponChange?: (coupon: {
|
|
34
|
+
code: string;
|
|
35
|
+
discountAmount: number;
|
|
36
|
+
finalAmount: number;
|
|
37
|
+
} | null) => void;
|
|
38
|
+
initialCoupon?: {
|
|
39
|
+
code: string;
|
|
40
|
+
discountAmount: number;
|
|
41
|
+
finalAmount: number;
|
|
42
|
+
} | null;
|
|
28
43
|
}
|
|
29
|
-
export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, paymentType, isAdminMode, selectedUser, waitForApproval, onWaitForApprovalChange, mode, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, paymentType, isAdminMode, selectedUser, waitForApproval, onWaitForApprovalChange, mode, appliedCoupon, onCouponChange, initialCoupon, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
45
|
export {};
|
|
@@ -4,6 +4,7 @@ export interface MotorInsuranceApprovalPaymentStepProps {
|
|
|
4
4
|
amount: number;
|
|
5
5
|
premiumBeforeDiscount?: number;
|
|
6
6
|
discountAmount?: number;
|
|
7
|
+
couponCode?: string;
|
|
7
8
|
isApproving?: boolean;
|
|
8
9
|
isRejecting?: boolean;
|
|
9
10
|
onApprove?: (paymentMode: EPaymentMethod | undefined, paymentType: EOrderPaymentType) => void;
|
|
@@ -16,4 +17,4 @@ export interface MotorInsuranceApprovalPaymentStepProps {
|
|
|
16
17
|
passengerAccidentPremium?: number;
|
|
17
18
|
isGuest?: boolean;
|
|
18
19
|
}
|
|
19
|
-
export declare const MotorInsuranceApprovalPaymentStep: ({ user, amount, premiumBeforeDiscount, discountAmount, isApproving, isRejecting, onApprove, onReject, termsAgreeHtml, startDate, tax, mandatoryPremium, passengerAccidentPremium, isGuest, }: MotorInsuranceApprovalPaymentStepProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const MotorInsuranceApprovalPaymentStep: ({ user, amount, premiumBeforeDiscount, discountAmount, couponCode, isApproving, isRejecting, onApprove, onReject, termsAgreeHtml, startDate, tax, mandatoryPremium, passengerAccidentPremium, isGuest, }: MotorInsuranceApprovalPaymentStepProps) => import("react/jsx-runtime").JSX.Element;
|