public void SetPaymentsMethods(XsollaPaymentMethods paymentMethods) { _paymentMethods = paymentMethods; quickController.SetQuickMethods(_paymentMethods.GetListOnType(XsollaPaymentMethod.TypePayment.QUICK)); quickController.SetAllMethods(_paymentMethods.GetListOnType(XsollaPaymentMethod.TypePayment.REGULAR)); allController.SetPaymentMethods(_paymentMethods.GetListOnType());; }
private void InitChildView() { // Resizer.ResizeToParrent (gameObject); quickController.SetQuickMethods(_quickPayments); quickController.SetAllMethods(_paymentMethods); allController.SetPaymentMethods(_paymentMethods); if (utilsLink.GetUser().IsAllowChangeCountry()) { allController.SetCountries(startCountryIso, _countries); } screenHider.SetActive(false); }