toEntity method
Implementation
@override
PayConfirmationEntity toEntity({String? appId}) {
return PayConfirmationEntity(
appId: appId,
description: (description != null) ? description : null,
shopId: (shop != null) ? shop!.documentID : null,
backToShopAction: (backToShopAction != null)
? backToShopAction!.toEntity(appId: appId)
: null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}