public PaykunPayment(string _mid, string _accessToken, string _encryptionKey, bool _isLive = true) { this.MerchantId = _mid; this.AccessToken = _accessToken; this.EncryptionKey = _encryptionKey; this.IsLive = _isLive; // Initialize Optional Details this.ShippingAddress = new PkAddress("", "", "", "", ""); this.BillingAddress = new PkAddress("", "", "", "", ""); }
public void AddBillingAddress(string _addressString, string _country, string _state, string _city, string _pincode) { this.BillingAddress = new PkAddress(_addressString, _country, _state, _city, _pincode); }