Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Order/Checkout] Update Create Checkout feature to use MapStruct #1016

Closed
nashtech-vietvuhoang1 opened this issue Sep 11, 2024 · 0 comments · Fixed by #1018
Closed

[Order/Checkout] Update Create Checkout feature to use MapStruct #1016

nashtech-vietvuhoang1 opened this issue Sep 11, 2024 · 0 comments · Fixed by #1018
Assignees
Labels
feature refactor Code Refactor

Comments

@nashtech-vietvuhoang1
Copy link

nashtech-vietvuhoang1 commented Sep 11, 2024

Apply MapStruct to Create Checkout API

package com.yas.order.mapping;

import com.yas.order.viewmodel.checkout.CheckoutVm;

@Mapper 
public interface CheckoutMapper {
  CheckoutVM toVm(Checkout checkout);
  Checkout toModel(CheckoutVm checkoutVm);  
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature refactor Code Refactor
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

2 participants