Files
Woka_Native_iOS/WOKA/Cart/Model/CouponApplyDM.swift
BilalKhanWDI 22796ec0b1 - Made new module for Cart
- Finalised Listing of CartList
- Added pull to refresh and swipe to delete
- Handled manual delete on icon click
- Made CouponCart listing view controller
- Added api to fetch the coupons
- Added api to apply coupon with model
- Made a coupon discount stack , will show up
2024-07-23 19:53:12 +05:30

20 lines
437 B
Swift

//
// CouponApplyDM.swift
// WOKA
//
// Created by MacBook Pro on 23/07/24.
//
import Foundation
// MARK: - CouponApplyDM
struct CouponApplyDM: Codable {
let cartTotalAmount, discountValue, cartDiscountedAmount: String?
enum CodingKeys: String, CodingKey {
case cartTotalAmount = "cart_total_amount"
case discountValue = "discount_value"
case cartDiscountedAmount = "cart_discounted_amount"
}
}