my product settings start
This commit is contained in:
@@ -95,6 +95,16 @@ class MembersProducts(db.Model):
|
||||
return subscription
|
||||
|
||||
|
||||
@classmethod
|
||||
def save_update_product_settings(cls, member_id,subscription_uid,product_id,settings_key,setting_type,setting_value ):
|
||||
logger.info(f"settings_key : {settings_key}")
|
||||
logger.info(f"setting_type : {setting_type}")
|
||||
logger.info(f"settings_value : {setting_value}")
|
||||
logger.info(f"subscription_uid: {subscription_uid}")
|
||||
logger.info(f"product_id : {product_id}")
|
||||
logger.info(f"member_id : {member_id}")
|
||||
return 0
|
||||
|
||||
def to_dict(self):
|
||||
"""
|
||||
Convert the Loan object to a dictionary format for JSON serialization.
|
||||
|
||||
Reference in New Issue
Block a user