/// <summary> /// 注册拥有者检查程序 /// </summary> /// <param name="verification"></param> public static void RegisterOwnerVerification(IOwnerVerification verification) { OwnerVerify = verification; }
/// <summary> /// 收货地址创建程序 /// </summary> /// <param name="address">地址信息</param> /// <param name="verification">拥有者验证器</param> public ConsigneeCreationProvider(ShippingAddress address, IOwnerVerification verification = null) { this._address = address; this._verification = verification; }