feat(SW-3642): Enable SAS EB payments * Wip add SAS eb payment * Add validate payment call * Check booking status payment method to determine validation * Clean up getPaymentData * Fix PartnerPoints casing * Add comment for validatePartnerPayment error handling * Remove comment Approved-by: Joakim Jäderberg
23 lines
993 B
TypeScript
23 lines
993 B
TypeScript
import { bookingTermsAndConditionsRoutes } from "@scandic-hotels/common/constants/routes/bookingTermsAndConditionsRoutes"
|
|
import { customerService } from "@scandic-hotels/common/constants/routes/customerService"
|
|
import { membershipTermsAndConditions } from "@scandic-hotels/common/constants/routes/membershipTermsAndConditions"
|
|
import { myStay } from "@scandic-hotels/common/constants/routes/myStay"
|
|
import { privacyPolicyRoutes } from "@scandic-hotels/common/constants/routes/privacyPolicyRoutes"
|
|
|
|
import type { BookingFlowConfig } from "@scandic-hotels/booking-flow/BookingFlowConfig"
|
|
|
|
export const bookingFlowConfig: BookingFlowConfig = {
|
|
bookingCodeEnabled: true,
|
|
redemptionType: "scandic",
|
|
savedCreditCardsEnabled: true,
|
|
enterDetailsMembershipIdInputLocation: "form",
|
|
variant: "scandic",
|
|
routes: {
|
|
myStay,
|
|
customerService,
|
|
bookingTermsAndConditions: bookingTermsAndConditionsRoutes,
|
|
membershipTermsAndConditions,
|
|
privacyPolicy: privacyPolicyRoutes,
|
|
},
|
|
}
|