public bool InitOnlyBundleMaster(bool isResetMaster = false, BundleParamResponse res = null) { if (isResetMaster) { if (res != null) { this.BundleMasters = res.bundles; } else { this.BundleMasters.Clear(); } } return(true); }
public bool InitBundle(bool isResetMaster = false, BundleParamResponse res = null) { PaymentManager.MyDebug.PushMessage("PaymentManager.InitBundle"); this.isBundleSetupOK = false; if (isResetMaster) { if (res != null) { this.BundleMasters = res.bundles; } else { this.BundleMasters.Clear(); } } DebugUtility.LogWarning("PaymentManager:isBundleSetupOK=>" + this.isBundleSetupOK.ToString()); return(true); }